Model parameters in include files. |
Back to the index Back to the top of index |
Goal: |
Store model parameters in .Model lines in include files. |
What to do: | Any models previously defined in the Commands editor can be stored in seperate include files with the extension (*.mod). Store these files in the directory PathCaspoc\Include , where PathCaspoc is the directory where Caspoc is installed. You have acces to the parameters in the include (*.mod) files using the blocks MName and MPar in the block diagram. |
Example: | Below the contents of a simple (*.mod) file for a switched reluctance machine are displayed:
|
Result: | Use include (*.mod) files for storing model parameters. |
Note: |
Use a + for starting on a new line. See the blocks Mname and Mpar for information on how to use the model parameters in the block diagram. Use the extension (*.mod) for the include files. |
![]() |
Back to the index Back to the top of index |