Name | Description |
---|---|
Volume | Specify volume (measure pressure) |
Pressure | Specify pressure (measure volume) |
Partial | Base model for a pressure/volume |
Type | Name | Default | Description |
---|---|---|---|
Specification | |||
Boolean | internal | true | Use internal specification |
Measurement | |||
RealOutput | y | dalton.p | Measurement expression |
Type | Name | Description |
---|---|---|
input RealInput | u | Value of specified condition |
Dalton | dalton | Connector for additivity of pressure |
Measurement | ||
output RealOutput | y | Measurement expression |
model Volume "Specify volume (measure pressure)" extends Partial(final y=dalton.p, set(y=U.cc)); equation dalton.V = u_final; end Volume;
Type | Name | Default | Description |
---|---|---|---|
Specification | |||
Boolean | internal | true | Use internal specification |
Measurement | |||
RealOutput | y | dalton.V | Measurement expression |
Type | Name | Description |
---|---|---|
input RealInput | u | Value of specified condition |
Dalton | dalton | Connector for additivity of pressure |
Measurement | ||
output RealOutput | y | Measurement expression |
model Pressure "Specify pressure (measure volume)" extends Partial(final y=dalton.V, set(y=U.atm)); equation dalton.p = u_final; end Pressure;
Type | Name | Default | Description |
---|---|---|---|
Specification | |||
Boolean | internal | true | Use internal specification |
RealExpression | set | redeclare Modelica.Blocks.So… | Source of internal specification |
Measurement | |||
RealOutput | y | Measurement expression |
Type | Name | Description |
---|---|---|
input RealInput | u | Value of specified condition |
Dalton | dalton | Connector for additivity of pressure |
Measurement | ||
output RealOutput | y | Measurement expression |
partial model Partial "Base model for a pressure/volume" extends FCSys.Icons.Conditions.SingleShort; parameter Boolean internal=true "Use internal specification"; replaceable Modelica.Blocks.Sources.RealExpression set if internal constrainedby Modelica.Blocks.Interfaces.SO "Source of internal specification"; Connectors.RealInput u if not internal "Value of specified condition"; Connectors.RealOutput y "Measurement expression"; Connectors.Dalton dalton "Connector for additivity of pressure"; protected Connectors.RealOutputInternal u_final "Final value of specified condition"; equation connect(u, u_final); connect(set.y, u_final); end Partial;