JARA2i.interf

Interfaces

Information


 

Interfaces included in JARA library




Figure 1.Classes included in interf.mo.



Package Content

NameDescription
JARA2i.interf.controllerI controllerI  
JARA2i.interf.controllerMI controllerMI Controller.
JARA2i.interf.emitter1I emitter1I Information emitter.
JARA2i.interf.gas1I gas1I Gas - CV.
JARA2i.interf.gasFlow1I gasFlow1I Gas TP.
JARA2i.interf.gasFlow2I gasFlow2I Gas TP.
JARA2i.interf.gasFlow2qI gasFlow2qI Gas TP.
JARA2i.interf.gasV1I gasV1I Gas CV.
JARA2i.interf.heat1I heat1I Thermic interface - CV.
JARA2i.interf.heatFlow1I heatFlow1I Thermic interface TP.
JARA2i.interf.heatFlow2I heatFlow2I Thermic interface TP.
JARA2i.interf.heatFlowF2I heatFlowF2I Thermic interface TP.
JARA2i.interf.heteroFlow2I heteroFlow2I Liquid and Gas - TP.
JARA2i.interf.heteroProcessFlow2I heteroProcessFlow2I Liquid and Gas - TP.
JARA2i.interf.liqFlow1I liqFlow1I Liquid TP.
JARA2i.interf.liqFlow2I liqFlow2I Liquid TP.
JARA2i.interf.liqFlow2qI liqFlow2qI Liquid TP.
JARA2i.interf.liquid1I liquid1I Liquid CV.
JARA2i.interf.liquid2I liquid2I Liquid CV.
JARA2i.interf.liquidV2I liquidV2I Liquid CV.
JARA2i.interf.pumpMassSignalI pumpMassSignalI Information flow.
JARA2i.interf.pumpMolSignalI pumpMolSignalI Information flow
JARA2i.interf.pumpVolSignalI pumpVolSignalI Information flow
JARA2i.interf.receiver1I receiver1I Information receiver.
JARA2i.interf.sourceHeatSignalI sourceHeatSignalI Information flow.
JARA2i.interf.sourceMassSignalI sourceMassSignalI Information flow.
JARA2i.interf.sourceMolSignalI sourceMolSignalI Information flow.
JARA2i.interf.sourceVolGasSignalI sourceVolGasSignalI Information flow.
JARA2i.interf.sourceVolLiqSignalI sourceVolLiqSignalI Information flow.
JARA2i.interf.valveSignalI valveSignalI Information flow.
JARA2i.interf.vesselI vesselI Volume constraint.


JARA2i.interf.controllerI JARA2i.interf.controllerI

JARA2i.interf.controllerI

Information

Interface type: information flow

Parameters

TypeNameDefaultDescription
RealsamplePeriod00.1Sample period
IntegerdimSP1Dimension of the set-point signal
Integerdimy1Dimension of the controlled variable signal
Integerdimu1Dimension of the manipulated variable signal

Connectors

TypeNameDescription
cutReceiversetPointSignalSet-point signal
cutEmitteruVarSignalManipulated variable
cutReceiveryVarSignalControlled variable

Modelica definition

partial model controllerI 
  parameter Real samplePeriod0 = 0.1 "Sample period";
  Real samplePeriod(start=samplePeriod0) "Sample period of component";
  //  parameter SI.Time startTime=0 "First sample time instant";
  discrete Boolean sampleTrigger(fixed=true, start=true) 
    "True, if sample time instant";
  Boolean firstTrigger "Rising edge signals first sample instant";
  parameter Integer dimSP=1 "Dimension of the set-point signal";
  parameter Integer dimy=1 "Dimension of the controlled variable signal";
  parameter Integer dimu=1 "Dimension of the manipulated variable signal";
  
  Real setPoint[dimSP] "Setpoint signals";
  Real uVar[dimu] "Manipulated signals";
  Real yVar[dimy] "Controlled signals";
  
  cutsB.cutReceiver setPointSignal(dim=dimSP, signal=setPoint) 
    "Set-point signal";
  
  cutsB.cutEmitter uVarSignal(dim=dimu, signal=uVar) "Manipulated variable";
  
 cutsB.cutReceiver yVarSignal(dim=dimy, signal=yVar) "Controlled variable";
protected 
  discrete Real nextTime(start=0);
equation 
  
  der(samplePeriod) = 0;
  
  when time > nextTime then
    
    //Hasta el sgte. instante de muestreo no se actualiza el valor de nextTime
    // sampleTrigger = true;
    nextTime = samplePeriod + pre(nextTime);
  end when;
  
  sampleTrigger = time < nextTime;
  
  when sampleTrigger then
    firstTrigger = time <= samplePeriod/2;
    
  end when;
  
  
end controllerI;

JARA2i.interf.controllerMI JARA2i.interf.controllerMI

Controller.

JARA2i.interf.controllerMI

Information

Interface type: information flow

Parameters

TypeNameDefaultDescription
IntegerdimSP1Number of setpoint signals
IntegerdimManip1Number of manipulated variables
IntegerdimControl1Number of control variables

Connectors

TypeNameDescription
cutReceiversetPointSignalSetpoint signals
cutEmittermanipVarSignalManipulated signals
cutReceivercontrVarSignalControl signals

Modelica definition

model controllerMI "Controller." 
  
   parameter Integer dimSP =      1 "Number of setpoint signals";
   parameter Integer dimManip =   1 "Number of manipulated variables";
   parameter Integer dimControl = 1 "Number of control variables";
  
   Real setPoint[ dimSP] "Setpoint signals";
   Real manipVar[ dimManip] "Manipulated signals";
   Real contrVar[ dimControl] "Controlled signals";
  
   cutsB.cutReceiver setPointSignal(  dim=dimSP, signal=setPoint) 
    "Setpoint signals";
  
   cutsB.cutEmitter manipVarSignal(   dim=dimManip, signal=manipVar) 
    "Manipulated signals";
  
   cutsB.cutReceiver contrVarSignal(  dim=dimControl, signal=contrVar) 
    "Control signals";
  
equation 
  
end controllerMI;

JARA2i.interf.emitter1I JARA2i.interf.emitter1I

Information emitter.

JARA2i.interf.emitter1I

Information

Interface type: information flow

Parameters

TypeNameDefaultDescription
Integerdim1Number of components of the signal vector

Connectors

TypeNameDescription
cutEmittersignalInformation

Modelica definition

model emitter1I "Information emitter." 
  
   parameter Integer dim = 1 "Number of components of the signal vector";
  
   cutsB.cutEmitter signal(   dim=dim) "Information";
  
equation 
  
end emitter1I;

JARA2i.interf.gas1I JARA2i.interf.gas1I

Gas - CV.

JARA2i.interf.gas1I

Information

 
   
Interface of the classes modeling a control volume (CV) that contains a homogeneous mixture of an arbitrary number of semiperfect gases.
The gaseous CV can exchange mass and heat with their environment.
A gaseous CV contains one heat-flow control plane (CP) and one mass-flow CP: all the gaseous mixture properties are spatially homogeneous.
This class contains the following connector types: cutGasC and cutHeatMC.

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutGasCinMolGas flow - Connector Capacitive
cutHeatMCinHeatHeat flow - Connector M-C

Modelica definition

model gas1I "Gas - CV." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutGasC inMol(   nComp=nComp) "Gas flow - Connector Capacitive";
  
   cutsB.cutHeatMC inHeat( nComp=nComp) "Heat flow - Connector M-C";
equation 
  
  
end gas1I;

JARA2i.interf.gasFlow1I JARA2i.interf.gasFlow1I

Gas TP.

JARA2i.interf.gasFlow1I

Information

Interface type: transport phenomenon 

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutGasRinMolGas flow - Connector Resistive

Modelica definition

model gasFlow1I "Gas TP." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutGasR inMol(  nComp=nComp) "Gas flow - Connector Resistive";
  
equation 
  
end gasFlow1I;

JARA2i.interf.gasFlow2I JARA2i.interf.gasFlow2I

Gas TP.

JARA2i.interf.gasFlow2I

Information

Interface type: transport phenomenon 

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutGasRinMolGas flow - Connector Resistive
cutGasRoutMolGas flow - Connector Resistive

Modelica definition

model gasFlow2I "Gas TP." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutGasR inMol(  nComp=nComp) "Gas flow - Connector Resistive";
  
   cutsB.cutGasR outMol(  nComp=nComp) "Gas flow - Connector Resistive";
  
equation 
  
end gasFlow2I;

JARA2i.interf.gasFlow2qI JARA2i.interf.gasFlow2qI

Gas TP.

JARA2i.interf.gasFlow2qI

Information

Interface type: transport phenomenon

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutGasRinMolGas flow - Connector Resistive.
cutGasRoutMolGas flow - Connector Resistive.
cutHeatFCinHeatHeat flow - Connector F-C. Connector for the heat convection.

Modelica definition

model gasFlow2qI "Gas TP." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutGasR inMol(   nComp=nComp) "Gas flow - Connector Resistive.";
  
   cutsB.cutGasR outMol(   nComp=nComp) "Gas flow - Connector Resistive.";
  
   cutsB.cutHeatFC inHeat( nComp=nComp) 
    "Heat flow - Connector F-C. Connector for the heat convection.";
  
equation 
  
end gasFlow2qI;

JARA2i.interf.gasV1I JARA2i.interf.gasV1I

Gas CV.

JARA2i.interf.gasV1I

Information

Interface of the classes modeling a control volume (CV) that contains a homogeneous mixture of 
    an arbitrary number of semiperfect gases.
The gaseous CV can exchange mass and heat with their environment.
A gaseous CV contains one heat-flow control plane (CP) and one mass-flow CP: all the gaseous mixture properties are spatially homogeneous.
One relevant property of a CV is its spatial volume. The gaseous CVs impose the following constraint on the volume of the gas stored inside them: the volume of the gaseous mixture contained into a CV is equal (smaller or equal) to the CV volume.
This class contains the following connector types: cutGasC, cutHeatMC and cutVolContrGas.

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutGasCinMolGas flow - Connector Capacitive
cutHeatMCinHeatHeat flow - Connector M-C
cutVolConstrGasconstraintVVolume constraint - Gas

Modelica definition

model gasV1I "Gas CV." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutGasC inMol(   nComp=nComp) "Gas flow - Connector Capacitive";
  
   cutsB.cutHeatMC inHeat( nComp=nComp) "Heat flow - Connector M-C";
  
   cutsB.cutVolConstrGas constraintV "Volume constraint - Gas";
  
equation 
   // Reationship between the terminal variables
   // constraintV.dummyVol1 = constraintV.dummyVol;
   constraintV.vcE[1] = constraintV.vcE[2];
  
  
end gasV1I;

JARA2i.interf.heat1I JARA2i.interf.heat1I

Thermic interface - CV.

JARA2i.interf.heat1I

Information

Interface type: control volume
                        

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutHeatMCinHeatConnector for the heat conduction.

Modelica definition

model heat1I "Thermic interface - CV." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutHeatMC inHeat(    nComp=nComp) "Connector for the heat conduction.";
  
equation 
  
end heat1I;

JARA2i.interf.heatFlow1I JARA2i.interf.heatFlow1I

Thermic interface TP.

JARA2i.interf.heatFlow1I

Information

Interface type: transport phenomenon
                        

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutHeatMRinHeatHeat flow source

Modelica definition

model heatFlow1I "Thermic interface TP." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutHeatMR inHeat(   nComp=nComp) "Heat flow source";
  
equation 
  
end heatFlow1I;

JARA2i.interf.heatFlow2I JARA2i.interf.heatFlow2I

Thermic interface TP.

JARA2i.interf.heatFlow2I

Information

Interface type: transport phenomenon
                        

Parameters

TypeNameDefaultDescription
IntegernCompI1Number of components of inHeat
IntegernCompO1Number of components of outHeat

Connectors

TypeNameDescription
cutHeatMRinHeatHeat flow
cutHeatMRoutHeatHeat flow

Modelica definition

model heatFlow2I "Thermic interface TP." 
  
   parameter Integer nCompI = 1 "Number of components of inHeat";
   parameter Integer nCompO = 1 "Number of components of outHeat";
  
   cutsB.cutHeatMR inHeat(  nComp=nCompI) "Heat flow";
  
   cutsB.cutHeatMR outHeat(  nComp=nCompO) "Heat flow";
  
equation 
  
end heatFlow2I;

JARA2i.interf.heatFlowF2I JARA2i.interf.heatFlowF2I

Thermic interface TP.

JARA2i.interf.heatFlowF2I

Information


                     Interface type: transport phenomenon
                      

Parameters

TypeNameDefaultDescription
IntegernCompI1Number of components of inHeat
IntegernCompO1Number of components of outHeat

Connectors

TypeNameDescription
cutHeatMRinHeatHeat flow
cutHeatFRoutHeatHeat flow

Modelica definition

model heatFlowF2I "Thermic interface TP." 
  
   parameter Integer nCompI = 1 "Number of components of inHeat";
   parameter Integer nCompO = 1 "Number of components of outHeat";
  
   cutsB.cutHeatMR inHeat(   nComp=nCompI) "Heat flow";
  
   cutsB.cutHeatFR outHeat(   nComp=nCompO) "Heat flow";
  
equation 
  
end heatFlowF2I;

JARA2i.interf.heteroFlow2I JARA2i.interf.heteroFlow2I

Liquid and Gas - TP.

JARA2i.interf.heteroFlow2I

Information


                       Interface type: transport phenomenon
                       

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutLiquidRinMassLiquid flow - Connector R. Connector for the liquid flow.
cutGasRoutMolGas flow - Connector Resistive.

Modelica definition

model heteroFlow2I "Liquid and Gas - TP." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutLiquidR inMass(  nComp=nComp) "Liquid flow - Connector R.
 Connector for the liquid flow.";
  
   cutsB.cutGasR outMol(     nComp=nComp) "Gas flow - Connector Resistive.";
  
equation 
  
end heteroFlow2I;

JARA2i.interf.heteroProcessFlow2I JARA2i.interf.heteroProcessFlow2I

Liquid and Gas - TP.

JARA2i.interf.heteroProcessFlow2I

Information

Interface type: transport phenomenon

Parameters

TypeNameDefaultDescription
IntegernCompL1Number of liquid components
IntegernCompG1Number of gas components

Connectors

TypeNameDescription
cutLiquidRinMassConnector for the liquid flow
cutGasRoutMolConnector for the gas flow

Modelica definition

model heteroProcessFlow2I "Liquid and Gas - TP." 
  
   parameter Integer nCompL = 1 "Number of liquid components";
   parameter Integer nCompG = 1 "Number of gas components";
  
   cutsB.cutLiquidR inMass(    nComp=nCompL) "Connector for the liquid flow";
  
   cutsB.cutGasR outMol(       nComp=nCompG) "Connector for the gas flow";
  
equation 
  
end heteroProcessFlow2I;

JARA2i.interf.liqFlow1I JARA2i.interf.liqFlow1I

Liquid TP.

JARA2i.interf.liqFlow1I

Information

Interface type: transport phenomenon

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutLiquidRinMassConnector for the liquid flow

Modelica definition

model liqFlow1I "Liquid TP." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutLiquidR inMass(  nComp=nComp) "Connector for the liquid flow";
  
equation 
  
end liqFlow1I;

JARA2i.interf.liqFlow2I JARA2i.interf.liqFlow2I

Liquid TP.

JARA2i.interf.liqFlow2I

Information

Interface type: transport phenomenon

Parameters

TypeNameDefaultDescription
IntegernComp1 

Connectors

TypeNameDescription
cutLiquidRinMass 
cutLiquidRoutMass 

Modelica definition

model liqFlow2I "Liquid TP." 
  
   parameter Integer nComp = 1;
  
   cutsB.cutLiquidR inMass(   nComp=nComp);
  
   cutsB.cutLiquidR outMass(   nComp=nComp);
  
equation 
  
end liqFlow2I;

JARA2i.interf.liqFlow2qI JARA2i.interf.liqFlow2qI

Liquid TP.

JARA2i.interf.liqFlow2qI

Information

Interface type: transport phenomenon

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutLiquidRinMassLiquid flow connector - R
cutLiquidRoutMassLiquid flow connector - R
cutHeatFCinHeatHeat flow connector -C

Modelica definition

model liqFlow2qI "Liquid TP." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutLiquidR inMass(   nComp=nComp) "Liquid flow connector - R";
  
   cutsB.cutLiquidR outMass(   nComp=nComp) "Liquid flow connector - R";
  
   cutsB.cutHeatFC inHeat(    nComp=nComp) "Heat flow connector -C";
  
equation 
  
end liqFlow2qI;

JARA2i.interf.liquid1I JARA2i.interf.liquid1I

Liquid CV.

JARA2i.interf.liquid1I

Information

 
Interface type: control volume
This class contains the following connector types: cutLiquidC.

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components of the liquid mixture

Connectors

TypeNameDescription
cutLiquidCinMassConnector for the liquid flow

Modelica definition

model liquid1I "Liquid CV." 
  
   parameter Integer nComp = 1 "Number of components of the liquid mixture";
  
   cutsB.cutLiquidC inMass(   nComp=nComp) "Connector for the liquid flow";
  
equation 
  
end liquid1I;

JARA2i.interf.liquid2I JARA2i.interf.liquid2I

Liquid CV.

JARA2i.interf.liquid2I

Information

    
Liquid CV: the CV contains an ideal, homogeneous liquid mixture composed of an arbitrary number of components.
A liquid CV has two mass-flow CPs and one heat-flow CP: (i) as the liquid properties related with the heat-flow are spatially homogeneous, all the heat-flow CPs are equivalent; (ii) the liquid pressure depends on the position: the simplest and most general CP selection is placing one CP at the CV bottom (point of highest pressure) and the other at the CV top (point of lowest pressure).
This class contains the following connector types: cutLiquidC and cutHeatMC.

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components of the liquid mixture

Connectors

TypeNameDescription
cutLiquidCinMassTopConnector for the liquid flow
cutLiquidCinMassBotConnector for the liquid flow
cutHeatMCinHeatConnector for the heat flow

Modelica definition

model liquid2I "Liquid CV." 
  
   parameter Integer nComp = 1 "Number of components of the liquid mixture";
  
   cutsB.cutLiquidC inMassTop(    nComp=nComp) "Connector for the liquid flow";
  
   cutsB.cutLiquidC inMassBot(    nComp=nComp) "Connector for the liquid flow";
  
   cutsB.cutHeatMC inHeat(     nComp=nComp) "Connector for the heat flow";
  
equation 
  
end liquid2I;

JARA2i.interf.liquidV2I JARA2i.interf.liquidV2I

Liquid CV.

JARA2i.interf.liquidV2I

Information

Interface type: control volume
    
Liquid CV: the CV contains an ideal, homogeneous liquid mixture composed of an arbitrary number of components.
A liquid CV has two mass-flow CPs and one heat-flow CP: (i) as the liquid properties related with the heat-flow are spatially homogeneous, all the heat-flow CPs are equivalent; (ii) the liquid pressure depends on the position: the simplest and most general CP selection is placing one CP at the CV bottom (point of highest pressure) and the other at the CV top (point of lowest pressure).
One relevant property of a CV is its spatial volume. The liquid CVs impose the following constraint on the volume of the liquid stored inside them: the volume of the liquid mixture contained into a CV is equal (smaller or equal) to the CV volume.
This class contains the following connector types: cutLiquidC, cutHeatMC and cutVolContrLiq.

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutLiquidCinMassTopConnector for the liquid flow
cutLiquidCinMassBotConnector for the liquid flow
cutHeatMCinHeatConnector for the heat flow
cutVolConstrLiqconstraintVConnector for the volume constraint - Liquid

Modelica definition

model liquidV2I "Liquid CV." 
  
   parameter Integer nComp = 1 "Number of components";
  
   cutsB.cutLiquidC inMassTop(    nComp=nComp) "Connector for the liquid flow";
  
   cutsB.cutLiquidC inMassBot(    nComp=nComp) "Connector for the liquid flow";
  
   cutsB.cutHeatMC inHeat(     nComp=nComp) "Connector for the heat flow";
  
   cutsB.cutVolConstrLiq constraintV 
    "Connector for the volume constraint - Liquid";
  
equation 
  
end liquidV2I;

JARA2i.interf.pumpMassSignalI JARA2i.interf.pumpMassSignalI

Information flow.

JARA2i.interf.pumpMassSignalI

Information

Interface type: information flow

Connectors

TypeNameDescription
cutEmittersetPointSignalSet-point signal

Modelica definition

model pumpMassSignalI "Information flow." 
  
   Real totalMassFSP(      unit="M.t-1") "Setpoint of the total mass flow";
  
   cutsB.cutEmitter setPointSignal(   dim=1, signal={totalMassFSP}) 
    "Set-point signal";
  
equation 
  
end pumpMassSignalI;

JARA2i.interf.pumpMolSignalI JARA2i.interf.pumpMolSignalI

Information flow

Information

Interface type: information flow

Connectors

TypeNameDescription
cutEmittersetPointSignalSetpoint of the total molar flow

Modelica definition

model pumpMolSignalI "Information flow" 
  
   Real totalMolFSP(      unit="mol.t-1") "Setpoint of the total molar flow";
  
   cutsB.cutEmitter setPointSignal(   dim=1, signal={totalMolFSP}) 
    "Setpoint of the total molar flow";
  
equation 
  
end pumpMolSignalI;

JARA2i.interf.pumpVolSignalI JARA2i.interf.pumpVolSignalI

Information flow

Information

Interface type: information flow

Connectors

TypeNameDescription
cutEmittersetPointSignalSetpoint of the total volumetric flow

Modelica definition

model pumpVolSignalI "Information flow" 
  
   Real totalVolFSP(      unit="L3.t-1") 
    "Setpoint of the total volumetric flow";
  
   cutsB.cutEmitter setPointSignal(   dim=1, signal={totalVolFSP}) 
    "Setpoint of the total volumetric flow";
  
equation 
  
end pumpVolSignalI;

JARA2i.interf.receiver1I JARA2i.interf.receiver1I

Information receiver.

JARA2i.interf.receiver1I

Information

Interface type: information flow

Parameters

TypeNameDefaultDescription
Integerdim1Dimension of the signal vector

Connectors

TypeNameDescription
cutReceiversignalInformation connector

Modelica definition

model receiver1I "Information receiver." 
  
   parameter Integer dim = 1 "Dimension of the signal vector";
  
   cutsB.cutReceiver signal(  dim=dim) "Information connector";
  
equation 
  
end receiver1I;

JARA2i.interf.sourceHeatSignalI JARA2i.interf.sourceHeatSignalI

Information flow.

JARA2i.interf.sourceHeatSignalI

Information

Interface type: information flow

Connectors

TypeNameDescription
cutEmittersetPointSignalSetpoint of the heat flow

Modelica definition

model sourceHeatSignalI "Information flow." 
  
   Real heatFSP(      unit="M.L2.t-3") "Setpoint of the heat flow";
  
   cutsB.cutEmitter setPointSignal(   dim=1, signal={heatFSP}) 
    "Setpoint of the heat flow";
  
equation 
  
end sourceHeatSignalI;

JARA2i.interf.sourceMassSignalI JARA2i.interf.sourceMassSignalI

Information flow.

JARA2i.interf.sourceMassSignalI

Information

Interface type: information flow

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutEmittersetPointSignalSetpoint of the temperature

Modelica definition

model sourceMassSignalI "Information flow." 
  
   parameter Integer nComp = 1 "Number of components";
  
   Real totalMassFSP(            unit="M.t-1") 
    "Setpoint of the total mass-flow";
   Real massFractSP[ nComp](     unit=" ") 
    "Setpoint of each-component mass fraction";
   Real tempFSP(                 unit="T") "Setpoint of the temperature";
  
   cutsB.cutEmitter setPointSignal( dim=nComp+2) "Setpoint of the temperature";
  
equation 
  setPointSignal.signal[1]           = totalMassFSP;
  setPointSignal.signal[2:(nComp+1)] = massFractSP[:];
  setPointSignal.signal[nComp+2]     = tempFSP;
  
  
end sourceMassSignalI;

JARA2i.interf.sourceMolSignalI JARA2i.interf.sourceMolSignalI

Information flow.

JARA2i.interf.sourceMolSignalI

Information

Interface type: information flow

Parameters

TypeNameDefaultDescription
IntegernComp1 

Connectors

TypeNameDescription
cutEmittersetPointSignalSet-point of the total molar flow, mol fraction and temperature

Modelica definition

model sourceMolSignalI "Information flow." 
  
   parameter Integer nComp = 1;
  
   Real totalMolFSP(          unit="mol.t-1") "Setpoint of the total mol-flow";
   Real molFractSP[ nComp](   unit=" ") 
    "Setpoint of each-component mol fraction";
   Real tempFSP(              unit="T") "Setpoint of the temperature";
  
   cutsB.cutEmitter setPointSignal( dim=nComp+2) 
    "Set-point of the total molar flow, mol fraction and temperature";
  
equation 
  setPointSignal.signal[1]           = totalMolFSP;
  setPointSignal.signal[2:(nComp+1)] = molFractSP[:];
  setPointSignal.signal[nComp+2]     = tempFSP;
  
  
end sourceMolSignalI;

JARA2i.interf.sourceVolGasSignalI JARA2i.interf.sourceVolGasSignalI

Information flow.

JARA2i.interf.sourceVolGasSignalI

Information

Interface type: information flow

Parameters

TypeNameDefaultDescription
IntegernComp1 

Connectors

TypeNameDescription
cutEmittersetPointSignalSetpoint of the total volumetric flow, component mol fraction, temperature and pressure

Modelica definition

model sourceVolGasSignalI "Information flow." 
  
   parameter Integer nComp = 1;
  
   Real totalVolFSP(          unit="L3.t-1") 
    "Setpoint of the total volumetric flow";
   Real molFractSP[ nComp](   unit=" ") 
    "Setpoint of each-component mol fraction";
   Real tempFSP(              unit="T") "Setpoint of the temperature";
   Real pressFSP(             unit="M.L-1.t-2") "Setpoint of the pressure";
  
   cutsB.cutEmitter setPointSignal( dim=nComp+3) 
    "Setpoint of the total volumetric flow, component mol fraction, temperature and pressure";
  
equation 
  setPointSignal.signal[1]           = totalVolFSP;
  setPointSignal.signal[2:(nComp+1)] = molFractSP[:];
  setPointSignal.signal[nComp+2]     = tempFSP;
  setPointSignal.signal[nComp+3]     = pressFSP;
  
  
end sourceVolGasSignalI;

JARA2i.interf.sourceVolLiqSignalI JARA2i.interf.sourceVolLiqSignalI

Information flow.

JARA2i.interf.sourceVolLiqSignalI

Information

Interface type: information flow

Parameters

TypeNameDefaultDescription
IntegernComp1Number of components

Connectors

TypeNameDescription
cutEmittersetPointSignalSet-point of the total volumetric flow, component volume fraction and temperature

Modelica definition

model sourceVolLiqSignalI "Information flow." 
  
   parameter Integer nComp = 1 "Number of components";
  
   Real totalVolFSP(              unit="L3.t-1") 
    "Setpoint of the total volumetric flow";
   Real volFractSP[ nComp](       unit=" ") 
    "Setpoint of each-component volume fraction";
   Real tempFSP(                  unit="T") "Setpoint of the temperature";
  
   cutsB.cutEmitter setPointSignal(  dim=nComp+2) 
    "Set-point of the total volumetric flow, component volume fraction and temperature";
  
equation 
  setPointSignal.signal[1]           = totalVolFSP;
  setPointSignal.signal[2:(nComp+1)] = volFractSP[:];
  setPointSignal.signal[nComp+2]     = tempFSP;
  
  
end sourceVolLiqSignalI;

JARA2i.interf.valveSignalI JARA2i.interf.valveSignalI

Information flow.

JARA2i.interf.valveSignalI

Information

Interface type: information flow

Connectors

TypeNameDescription
cutEmittersetPointSignalSetpoint signal: {valveOpeningSP}

Modelica definition

model valveSignalI "Information flow." 
  
   Real valveOpeningSP(   unit=" ") "Setpoint of the valve opening";
  
   cutsB.cutEmitter setPointSignal(  dim=1, signal={valveOpeningSP}) 
    "Setpoint signal: {valveOpeningSP}";
  
equation 
  
end valveSignalI;

JARA2i.interf.vesselI JARA2i.interf.vesselI

Volume constraint.

JARA2i.interf.vesselI

Information

Interface type: volume constraint. 
This class is extended by the classes vesselLiqB and vesselGasB.

Connectors

TypeNameDescription
cutVolConstrVesselconstraintVVolume constraint - Vessel.

Modelica definition

model vesselI "Volume constraint." 
  
   cutsB.cutVolConstrVessel constraintV "Volume constraint - Vessel.";
  
equation 
   // Relationship between the terminal variables
   // constraintV.dummyVolF = -constraintV.dummyVol;
   constraintV.vcE[2] = - constraintV.vcF;
  
  
end vesselI;

HTML-documentation generated by Dymola Tue Jul 24 19:08:19 2007.