| Name | Description |
|---|---|
| Velocity | |
| Force | |
| Template of a function to select a translational quantity |
FCSys.Conditions.ByConnector.Translational.Component.velocity
| Type | Name | Default | Description |
|---|---|---|---|
| Velocity | phi[:] | Velocity [L/T] | |
| Force | mPhidot[:] | Force [L.M/T2] | |
| Integer | i | Index of the translational axis |
| Type | Name | Description |
|---|---|---|
| Real | x | Value of condition |
function velocity "Velocity " extends Partial; algorithm x := phi[i]; end velocity;
FCSys.Conditions.ByConnector.Translational.Component.force
| Type | Name | Default | Description |
|---|---|---|---|
| Velocity | phi[:] | Velocity [L/T] | |
| Force | mPhidot[:] | Force [L.M/T2] | |
| Integer | i | Index of the translational axis |
| Type | Name | Description |
|---|---|---|
| Real | x | Value of condition |
function force "Force" extends Partial; algorithm x := mPhidot[i]; end force;
FCSys.Conditions.ByConnector.Translational.Component.PartialThis 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 |
|---|---|---|---|
| Velocity | phi[:] | Velocity [L/T] | |
| Force | mPhidot[:] | Force [L.M/T2] | |
| Integer | i | Index of the translational axis |
| Type | Name | Description |
|---|---|---|
| Real | x | Value of condition |
partial function Partial "Template of a function to select a translational quantity" extends Modelica.Icons.Function; // Translational advection // Translational input Q.Velocity phi[:] "Velocity"; input Q.Force mPhidot[:] "Force"; input Integer i(min=1,max=3) "Index of the translational axis"; output Real x "Value of condition"; end Partial;