Ambient - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Ambient

Ambient with constant properties

 Description The Ambient component has a single thermal media flow-port at which the pressure and temperature are either set by parameters or controlled via signals. The Medium parameter specifies the name of a Thermal-Fluid Media record, which must be in the model at the same or higer level. The Use default medium boolean parameter, when true, sets the name of the Medium parameter to fluidMedium1, which corresponds to the default name of a fluid medium record. To use a different name, uncheck the box and enter the name in the parameter input that appears.
 Equations $p=\left\{\begin{array}{cc}{P}_{\mathrm{input}}& \mathrm{use}{P}_{\mathrm{amb}}\phantom{\rule[-0.0ex]{0.5ex}{0.0ex}}\mathrm{input}\\ {p}_{\mathrm{amb}}& \mathrm{otherwise}\end{array}$ $T=\left\{\begin{array}{cc}{T}_{\mathrm{input}}& \mathrm{use}{T}_{\mathrm{amb}}\phantom{\rule[-0.0ex]{0.5ex}{0.0ex}}\mathrm{input}\\ {T}_{\mathrm{amb}}& \mathrm{otherwise}\end{array}$

Connections

 Name Description Modelica ID $\mathrm{flowPort}$ flowPort ${P}_{\mathrm{input}}$ Real input; ambient pressure in $\mathrm{Pa}$ ambientPressure ${T}_{\mathrm{input}}$ Real input; ambient temperature temperature in $K$ ambientTemperature

Parameters

 Name Default Units Description Modelica ID $\mathrm{medium}$ fluidMedium medium ${p}_{\mathrm{amb}}$ $0$ $\mathrm{Pa}$ Ambient pressure constantAmbientPressure ${T}_{\mathrm{amb}}$ $293.15$ $K$ Ambient temperature constantAmbientTemperature $\mathrm{use}{P}_{\mathrm{amb}}\phantom{\rule[-0.0ex]{0.5ex}{0.0ex}}\mathrm{input}$ $\mathrm{false}$ True (checked) means enable pressure input usePressureInput $\mathrm{use}{T}_{\mathrm{amb}}\phantom{\rule[-0.0ex]{0.5ex}{0.0ex}}\mathrm{input}$ $\mathrm{false}$ True (checked) means enable temperature input useTemperatureInput

 Modelica Standard Library The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.