FCSys.Conditions.ByConnector.Dalton

Conditions for a Dalton connector

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
FCSys.Conditions.ByConnector.Dalton.Volume Volume Specify volume (measure pressure)
FCSys.Conditions.ByConnector.Dalton.Pressure Pressure Specify pressure (measure volume)
FCSys.Conditions.ByConnector.Dalton.Partial Partial Base model for a pressure/volume

FCSys.Conditions.ByConnector.Dalton.Volume FCSys.Conditions.ByConnector.Dalton.Volume

Specify volume (measure pressure) FCSys.Conditions.ByConnector.Dalton.Volume

Information

Extends from Partial (Base model for a pressure/volume).

Parameters

TypeNameDefaultDescription
Specification
BooleaninternaltrueUse internal specification
Measurement
RealOutputydalton.pMeasurement expression

Connectors

TypeNameDescription
input RealInputuValue of specified condition
DaltondaltonConnector for additivity of pressure
Measurement
output RealOutputyMeasurement expression

Modelica definition

model Volume "Specify volume (measure pressure)"
  extends Partial(final y=dalton.p, set(y=U.cc));

equation 
  dalton.V = u_final;

end Volume;

FCSys.Conditions.ByConnector.Dalton.Pressure FCSys.Conditions.ByConnector.Dalton.Pressure

Specify pressure (measure volume) FCSys.Conditions.ByConnector.Dalton.Pressure

Information

Extends from Partial (Base model for a pressure/volume).

Parameters

TypeNameDefaultDescription
Specification
BooleaninternaltrueUse internal specification
Measurement
RealOutputydalton.VMeasurement expression

Connectors

TypeNameDescription
input RealInputuValue of specified condition
DaltondaltonConnector for additivity of pressure
Measurement
output RealOutputyMeasurement expression

Modelica definition

model Pressure "Specify pressure (measure volume)"
  extends Partial(final y=dalton.V, set(y=U.atm));

equation 
  dalton.p = u_final;

end Pressure;

FCSys.Conditions.ByConnector.Dalton.Partial FCSys.Conditions.ByConnector.Dalton.Partial

Base model for a pressure/volume FCSys.Conditions.ByConnector.Dalton.Partial

Information

Extends from FCSys.Icons.Conditions.SingleShort (Short icon for a single-connector boundary condition).

Parameters

TypeNameDefaultDescription
Specification
BooleaninternaltrueUse internal specification
RealExpressionsetredeclare Modelica.Blocks.So…Source of internal specification
Measurement
RealOutputy Measurement expression

Connectors

TypeNameDescription
input RealInputuValue of specified condition
DaltondaltonConnector for additivity of pressure
Measurement
output RealOutputyMeasurement expression

Modelica definition

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;