impure functionbuildAcausalDAE

Generates and builds (but does not run) the combined DAE simulation executable for a flowsheet model whose top-level components are acausal DAE blocks. This is the acausal-DAE counterpart of buildModel().

Extends from Internal.simulationArguments (The arguments of simulate, buildModel and the other simulation calls.).

Information

Note that unlike simulateAcausalDAE() this function only builds the combined simulation executable, it does not run it. The acausal-DAE counterpart of buildModel().

Returns the filenames for the generated simulation executable and the initialization file.

Inputs

TypeNameDefaultDescription
TypeNameclassName (from simulationArguments)The model
RealstartTime (from simulationArguments)nan()Start time
RealstopTime (from simulationArguments)nan()Stop time
IntegernumberOfIntervals (from simulationArguments)-1Number of intervals
RealstepSize (from simulationArguments)nan()Interval of the result file
Realtolerance (from simulationArguments)nan()Integration tolerance
Stringmethod (from simulationArguments)"<default>"Integration method
StringfileNamePrefix (from simulationArguments)"<default>"File name prefix
Stringoptions (from simulationArguments)"<default>"Not used
StringoutputFormat (from simulationArguments)"<default>"Result file format
StringvariableFilter (from simulationArguments)"<default>"Variables to store
Stringcflags (from simulationArguments)"<default>"Flags for the C compiler
Stringsimflags (from simulationArguments)"<default>"Flags for the simulation

Outputs

TypeNameDefaultDescription
StringbuildModelResults