This information is part of the Modelica Standard Library maintained by the Modelica Association.

Constant

Generate constant signal of type Real

Information
CONNECTORS
CLOSE ALL
NameTypeDescription
yRealOutputConnector of Real output signal
PARAMETERS
NameTypeDefault ValueDescription
kRealConstant output value
USED IN EXAMPLES
Modelica.Thermal.HeatTransfer.Examples.Motor
Second order thermal model of a motor
Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling
Example: simple cooling circuit
Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling
Example: coolig circuit with parallel branches
Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling
Example: indirect cooling circuit
Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve
Example: cooling circuit with pump and valve
Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut
Example: cooling circuit with drop out of pump
Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut
Example: cooling circuit with parallel branches and drop out of pump
Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque
Demonstrate usage of ForceAndTorque element
Modelica.Mechanics.Translational.Examples.SignConvention
Examples for the used sign conventions.
Modelica.Mechanics.Translational.Examples.Accelerate
Use of model accelerate.
Modelica.Mechanics.Rotational.Examples.Friction
Drive train with clutch and brake
Modelica.Electrical.Analog.Examples.Rectifier
B6 diode bridge
USED IN COMPONENTS
Modelica.Thermal.FluidHeatFlow.Sources.Ambient
Ambient with constant properties
Modelica.Thermal.FluidHeatFlow.Sources.VolumeFlow
Enforces constant volume flow
Modelica.Thermal.FluidHeatFlow.Sources.PressureIncrease
Enforces constant pressure increase
Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.Components.AxisType1
Axis model of the r3 joints 1,2,3
Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.Components.AxisType2
Axis model of the r3 joints 4,5,6
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUSR
Universal - spherical - revolute joint aggregation (no constraints, no potential states)
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUSP
Universal - spherical - prismatic joint aggregation (no constraints, no potential states)
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointSSR
Spherical - spherical - revolute joint aggregation with mass (no constraints, no potential states)
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointSSP
Spherical - spherical - prismatic joint aggregation with mass (no constraints, no potential states)
Modelica.Electrical.Machines.Sensors.RotorDisplacementAngle
Rotor lagging angle
Modelica.Blocks.Continuous.LimPID
P, PI, PD, and PID controller with limited output, anti-windup compensation and setpoint weighting