Name | Description |
---|---|
pressure | Difference in pressure |
current | Current |
Partial | Template of a function to select a material quantity |
Type | Name | Default | Description |
---|---|---|---|
Pressure | Deltap | Difference in pressure [M/(L.T2)] | |
Current | Ndot | Current [N/T] | |
Velocity | Deltaphi[Orient] | Difference in velocity [L/T] | |
Force | mPhidot[Orient] | Shear force [L.M/T2] | |
Temperature | DeltaT | Difference in temperature [L2.M/(N.T2)] | |
Power | Qdot | Rate of thermal conduction [L2.M/T3] |
Type | Name | Description |
---|---|---|
Real | x | Value of condition |
function pressure "Difference in pressure" extends Partial; algorithm x := Deltap; end pressure;
Type | Name | Default | Description |
---|---|---|---|
Pressure | Deltap | Difference in pressure [M/(L.T2)] | |
Current | Ndot | Current [N/T] | |
Velocity | Deltaphi[Orient] | Difference in velocity [L/T] | |
Force | mPhidot[Orient] | Shear force [L.M/T2] | |
Temperature | DeltaT | Difference in temperature [L2.M/(N.T2)] | |
Power | Qdot | Rate of thermal conduction [L2.M/T3] |
Type | Name | Description |
---|---|---|
Real | x | Value of condition |
function current "Current" extends Partial; algorithm x := Ndot; end current;
This function takes as inputs all the efforts and flows of the associated connector. It should be extended to add an algorithm that maps these inputs to a single value.
Extends from Modelica.Icons.Function (Icon for functions).
Type | Name | Default | Description |
---|---|---|---|
Pressure | Deltap | Difference in pressure [M/(L.T2)] | |
Current | Ndot | Current [N/T] | |
Velocity | Deltaphi[Orient] | Difference in velocity [L/T] | |
Force | mPhidot[Orient] | Shear force [L.M/T2] | |
Temperature | DeltaT | Difference in temperature [L2.M/(N.T2)] | |
Power | Qdot | Rate of thermal conduction [L2.M/T3] |
Type | Name | Description |
---|---|---|
Real | x | Value of condition |
partial function Partial "Template of a function to select a material quantity" extends Modelica.Icons.Function; // Material input Q.Pressure Deltap "Difference in pressure"; input Q.Current Ndot "Current"; // Translational input Q.Velocity Deltaphi[Orient] "Difference in velocity"; input Q.Force mPhidot[Orient] "Shear force"; // Thermal input Q.Temperature DeltaT "Difference in temperature"; input Q.Power Qdot "Rate of thermal conduction"; output Real x "Value of condition"; end Partial;