CSV Export Data, dq From ABC Macro

User: "hardydragon"
Altair Community Member
Updated by hardydragon

Hello All,

 

Question 1:

----------------------

This is regarding a script in the Flux 2019

 

..\Altair\2019\flux\Extensions\Macros\CreateLookUpTableFromTMProject.PFM

 

In this script there is part for exporting data

 

# export table in CSV format
   CSVExportTable(parameter=[VariationParameter['FLUX_A'],
                             VariationParameter['FLUX_B'],
                             VariationParameter['FLUX_C'],
                             VariationParameter['TORQUE']],
               evolutivePath=EvolutivePath(parameterSet=[SetParameterXVariable(paramEvol=VariationParameter['ID_PILOT'],
                                                                               limitMin=-IdMax,
                                                                               limitMax=IdMax),
                                                         SetParameterXVariable(paramEvol=VariationParameter['IQ_PILOT'],
                                                                               limitMin=-IdMax,
                                                                               limitMax=IdMax),
                                                         SetParameterXVariable(paramEvol=VariationParameter['ANGPOS_ROTOR'],
                                                                               limitMin=0.0,
                                                                               limitMax=LUT_angle_period_deg)]),
               filename=nameProject+'_MS_CSV_table')

 

Context:

I stopped the solving process the 'CreateLookUpTableFromTMProject.PFM' executed this 'CSVExportTable' function. 

 

Problem.

I started the the solving process again and now I want to execute this function outside in the PyFlux Command.

I want to export all the solved data into CSV format.

 

How I can do this?

 

Question 2:

 

CreatePark_Iabc_Drivenby_Idq.py

 

In this script this is mentioned

 

   print '\n ***  user guide  ***\n'
   print ' Your project is ready to be solved with RUN_ID_IQ solving scenario.'
   print ' You should define sensor for computing phi_a, phi_b and phi_c.'
   print ' You may use the macro CreatePark_dq_From_abc in order to compute directly phi_d and phi_q.'
   print '\n*** Successfull end of CreatePark_Iabc_Drivenby_Idq macro ***\n''

 

'CreatePark_dq_From_abc'

 

However, I know where find this macro.

 

Where I can find this macro?

 

Best Regards,

 

HK


 

 

 

 

 

Find more posts tagged with