Subsystem initial and terminal data manipulations using busConnector (Physiomodel expandable connector).
Implementation:
Model should be divided into subsystems, which has output variables grouped to busConnector (variables, which are inputs to other subsystems). For each subsystem S: all these variables should be defined in extended redeclared class S.IO_Bus.Variables, where package S.IO_Bus is extended from Physiolibrary.Types.IO_Bus.
Usage:
For loading values in SI units of these variables from file "io/input_SI.txt" use block S.IO_Bus.InputFromFile_SI.
For loading values in non-SI units of these variables from file "io/input.txt" use block S.IO_Bus.InputFromFile.
For storing values in SI units of these variables from file "io/output_SI.txt" use block S.IO_Bus.OutputToFile_SI.
For storing values in non-SI units of these variables from file "io/output.txt" use block S.IO_Bus.OutputToFile.
For comparison values in SI units of these variables with file "io/input_SI.txt" use block S.IO_Bus.OutputComparison_SI and result will be stored as "io/comparison_SI.txt".
For comparison values in non-SI units of these variables with file "io/input.txt" use block S.IO_Bus.OutputComparison and result will be stored as "io/comparison.txt".
| Name | Description |
|---|---|
| Example of subsystem outputs | |