.Bodylight.Types.IO_Bus

Subsystem outputs manipulation

Information

Subsystem initial and terminal data manipulations using busConnector (Physiomodel expandable connector).

Be surre, that the directory "io" is in working directory (File->Change Directory...)!

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".

Contents

Name Description
 PhysiolibTypesRealTypes Redefine this package only if there are not possible to use Physiolibrary types for variables!
 Variables Subsystem output busConnector variables
 InputFromFile Load values in non-SI units from file io/input.txt
 OutputToFile Store values in non-SI units to file io/output.txt
 OutputComparison Compare values in non-SI units with file io/input.txt and store results to io/comparison.txt
 InputFromFile_SI Load values in SI units from file io/input_SI.txt
 OutputToFile_SI Store values in SI units to file io/output_SI.txt
 OutputComparison_SI Compare values in SI units with file io/input_SI.txt and store results to io/comparison_SI.txt

Revisions


Generated at 2026-06-23T20:19:05Z by OpenModelicaOpenModelica 1.26.9 using GenerateDoc.mos