Package
Jump to navigation
Jump to search
Package
Modelica organizes libraries in packages via the package and within keywords.
Single File Packages
Single file packages allow multiple models/functions/records/types to be written and run a single Modelica file. The format is
package Container "OptionalDisplayName" //type definitions shared with all package models type
//record definitions shared with all package models //function definitions shared with all package models
//models model SmallBox
end SmallBox;
end Container;