Collections of parameter values may be exported to, maintained within a Comma Separated Variable (*.csv) file, and the imported back into the component at any time.
To export the parameter values of an individual component to file, simply press the Export Parameters button in the component parameter dialog.
You will be presented with a dialog to save the file to a specified folder. By default a named (the component definition name) *.csv file will be specified.
To import parameter values to an individual component from file, simply press the Import Parameters button in the component parameter dialog.
Select the file containing the parameters and select OK button in the Open file dialog.
Exported *.csv files are auto generated by PSCAD. However, it is also possible to construct your own manually.
The parameter file functions based on component ID number. This ensures that parameter values remain locked to only the specified component instance. Here is an example file for an individual component instance:
Parameters [master:radiolink 766132655] Source,Name,dim,Mode,Type,Min,Max,rank,rccon,caption CtrlSystem,g1,2,0,0,-1.0,1.0,0,0,$(Name) [$(Rank)] |
The above is an exported *.csv file from a radio link component in the master library, whose component ID number is 766132655. If you were to attempt to import this information into another radio link instance (i.e. different ID number), the import will be ignored.
Using the Parameter Grid feature, it is possible to export multiple component instances to a single file. Once this file is created, it can be used as a master file, from which to import modified parameters to individual components.