Constant

Generate constant signal of type Real

Information

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

The Real output y is a constant signal:

Constant.png

Parameters (1)

k

Value:

Type: Real

Description: Constant output value

Connectors (1)

y

Type: RealOutput

Description: Connector of Real output signal

Used in Examples (52)

RealNetwork1

Modelica.Blocks.Examples

Demonstrates the usage of blocks from Modelica.Blocks.Math

UniformNoiseProperties

Modelica.Blocks.Examples.Noise

Demonstrates the computation of properties for uniformly distributed noise

NormalNoiseProperties

Modelica.Blocks.Examples.Noise

Demonstrates the computation of properties for normally distributed noise

Densities

Modelica.Blocks.Examples.Noise

Demonstrates how to compute distribution densities (= Probability Density Function)

AssignClock

Modelica.Clocked.Examples.Elementary.RealSignals

Example of a AssignClock block for Real signals

AssignClockVectorized

Modelica.Clocked.Examples.Elementary.RealSignals

Example of a AssignClockVectorized block for Real signals

UniformNoise

Modelica.Clocked.Examples.Elementary.RealSignals

Example of a UniformNoise block for Real signals

UniformNoiseXorshift64star

Modelica.Clocked.Examples.Elementary.RealSignals

Example of a UniformNoiseXorshift64star block for Real signals

Rectifier

Modelica.Electrical.Analog.Examples

B6 diode bridge

SMPM_CurrentSource

Modelica.Electrical.Machines.Examples.SynchronousMachines

Test example: PermanentMagnetSynchronousMachine fed by current source

SMPM_VoltageSource

Modelica.Electrical.Machines.Examples.SynchronousMachines

Test example: PermanentMagnetSynchronousMachine fed by FOC

SMEE_Rectifier

Modelica.Electrical.Machines.Examples.SynchronousMachines

Test example: ElectricalExcitedSynchronousMachine with rectifier

DCPM_Temperature

Modelica.Electrical.Machines.Examples.DCMachines

Test example: Investigate temperature dependency of a DCPM motor

TestSensors

Modelica.Electrical.Polyphase.Examples

ThyristorBridge2Pulse_DC_Drive

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse

Two pulse Graetz thyristor bridge feeding a DC drive

ThyristorBridge2mPulse_DC_Drive

Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse

2*m pulse thyristor bridge feeding a DC drive

ThreePhaseTwoLevel_PWM

Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel

Test of pulse width modulation methods

SeriesResonance

Modelica.Electrical.QuasiStatic.SinglePhase.Examples

Series resonance circuit

ParallelResonance

Modelica.Electrical.QuasiStatic.SinglePhase.Examples

Parallel resonance circuit

Transformer

Modelica.Electrical.QuasiStatic.SinglePhase.Examples

Example of transformer with short circuit impedance, transmission resistances and load

TestSensors

Modelica.Electrical.QuasiStatic.Polyphase.Examples

SMPM_CurrentSource

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines

Test example: PermanentMagnetSynchronousMachine fed by current source

SMPM_VoltageSource

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines

Test example: PermanentMagnetSynchronousMachine fed by FOC

SMEE_Rectifier

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines

Test example: ElectricalExcitedSynchronousMachine with rectifier

QuadraticCoreAirgap

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples

Educational example: iron core with airgap

ToroidalCoreAirgap

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples

Educational example: iron core with airgap

ToroidalCoreQuadraticCrossSection

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples

Educational example: iron core with airgap

CylinderSections

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes

Magnetic circuit using different cylinder sections

CuboidSections

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes

Magnetic circuit using different cuboid sections

SMPM_CurrentSource

Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines

Test example: PermanentMagnetSynchronousMachine fed by current source

SMR_CurrentSource

Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines

Test example: Synchronous reluctance machine fed by current source

ForceAndTorque

Modelica.Mechanics.MultiBody.Examples.Elementary

Demonstrate usage of ForceAndTorque element

HeatLosses

Modelica.Mechanics.MultiBody.Examples.Elementary

Demonstrate the modeling of heat losses

Friction

Modelica.Mechanics.Rotational.Examples

Drive train with clutch and brake

HeatLosses

Modelica.Mechanics.Rotational.Examples

Demonstrate the modeling of heat losses

SimpleGearShift

Modelica.Mechanics.Rotational.Examples

Simple Gearshift

OneWayClutchDisengaged

Modelica.Mechanics.Rotational.Examples

Drive train with disengaged one-way clutch

SignConvention

Modelica.Mechanics.Translational.Examples

Examples for the used sign conventions

Accelerate

Modelica.Mechanics.Translational.Examples

Use of model accelerate

HeatLosses

Modelica.Mechanics.Translational.Examples

Demonstrate the modeling of heat losses

PumpingSystem

Modelica.Fluid.Examples

Model of a pumping system for drinking water

DrumBoiler

Modelica.Fluid.Examples.DrumBoiler

Complete drum boiler model, including evaporator and supplementary components

TanksWithOverflow

Modelica.Fluid.Examples.Tanks

Two tanks connected with pipes at different heights

RoomCO2

Modelica.Fluid.Examples.TraceSubstances

Demonstrates a room volume with CO2 accumulation

RoomCO2WithControls

Modelica.Fluid.Examples.TraceSubstances

Demonstrates a room volume with CO2 controls

SimpleCooling

Modelica.Thermal.FluidHeatFlow.Examples

Simple cooling circuit

ParallelCooling

Modelica.Thermal.FluidHeatFlow.Examples

Cooling circuit with parallel branches

IndirectCooling

Modelica.Thermal.FluidHeatFlow.Examples

Indirect cooling circuit

PumpAndValve

Modelica.Thermal.FluidHeatFlow.Examples

Cooling circuit with pump and valve

PumpDropOut

Modelica.Thermal.FluidHeatFlow.Examples

Cooling circuit with drop out of pump

ParallelPumpDropOut

Modelica.Thermal.FluidHeatFlow.Examples

Cooling circuit with parallel branches and drop out of pump

Motor

Modelica.Thermal.HeatTransfer.Examples

Second order thermal model of a motor

Used in Components (38)

MotorWithCurrentControl

Modelica.Blocks.Examples.Noise.Utilities.Parts

Synchronous machine with current controller and measurement noise

LimPID

Modelica.Blocks.Continuous

P, PI, PD, and PID controller with limited output, anti-windup compensation, setpoint weighting and optional feed-forward

SineVariableFrequencyAndAmplitude

Modelica.Blocks.Sources

Generate sine signal with variable frequency and amplitude

CosineVariableFrequencyAndAmplitude

Modelica.Blocks.Sources

Generate cosine signal with variable frequency and amplitude

FixedRotationalClock

Modelica.Clocked.ClockSignals.Clocks.Rotational

Event clock generating a clock tick each time an observed input angle changed for a certain, constant rotational-interval

Potentiometer

Modelica.Electrical.Analog.Basic

Adjustable resistor

SineVoltageVariableFrequencyAndAmplitude

Modelica.Electrical.Analog.Sources

Sine voltage source with variable frequency and amplitude

CosineVoltageVariableFrequencyAndAmplitude

Modelica.Electrical.Analog.Sources

Cosine voltage source with variable frequency and amplitude

SineCurrentVariableFrequencyAndAmplitude

Modelica.Electrical.Analog.Sources

Sine current source with variable frequency and amplitude

CosineCurrentVariableFrequencyAndAmplitude

Modelica.Electrical.Analog.Sources

Cosine current source with variable frequency and amplitude

LimitedPI

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

Limited PI-controller with anti-windup and feed-forward

RotorDisplacementAngle

Modelica.Electrical.Machines.Sensors

Rotor lagging angle

ThermalAmbientIMC

Modelica.Electrical.Machines.Thermal.InductionMachines

Thermal ambient for induction machine with squirrel cage

ThermalAmbientIMS

Modelica.Electrical.Machines.Thermal.InductionMachines

Thermal ambient for induction machine with slipring

ThermalAmbientSMPM

Modelica.Electrical.Machines.Thermal.SynchronousMachines

Thermal ambient for synchronous machine with permanent magnets

ThermalAmbientSMEE

Modelica.Electrical.Machines.Thermal.SynchronousMachines

Thermal ambient for synchronous machine with electrical excitation

ThermalAmbientSMR

Modelica.Electrical.Machines.Thermal.SynchronousMachines

Thermal ambient for synchronous machine with reluctance rotor

ThermalAmbientDCPM

Modelica.Electrical.Machines.Thermal.DCMachines

Thermal ambient for DC machine with permanent magnets

ThermalAmbientDCEE

Modelica.Electrical.Machines.Thermal.DCMachines

Thermal ambient for DC machine with electrical excitation

ThermalAmbientDCSE

Modelica.Electrical.Machines.Thermal.DCMachines

Thermal ambient for DC machine with series excitation

ThermalAmbientDCCE

Modelica.Electrical.Machines.Thermal.DCMachines

Thermal ambient for DC machine with compound excitation

ThermalAmbientTransformer

Modelica.Electrical.Machines.Thermal

Thermal ambient for transformers

PartialThermalAmbientInductionMachines

Modelica.Electrical.Machines.Interfaces.InductionMachines

Partial thermal ambience for induction machines

PartialThermalAmbientDCMachines

Modelica.Electrical.Machines.Interfaces.DCMachines

Partial thermal ambience for DC machines

FromDQ

Modelica.Electrical.Machines.Utilities

Transform rotor fixed space phasor to instantaneous stator quantities

DQToThreePhase

Modelica.Electrical.Machines.Utilities

Transforms dq to three-phase

Signal2mPulse

Modelica.Electrical.PowerConverters.ACDC.Control

Generic control of 2*m pulse rectifiers

IntersectivePWM

Modelica.Electrical.PowerConverters.DCAC.Control

Intersective PWM

SignalPWM

Modelica.Electrical.PowerConverters.DCDC.Control

Generates a pulse width modulated (PWM) boolean fire signal

Voltage2DutyCycle

Modelica.Electrical.PowerConverters.DCDC.Control

Linearly transforms voltage to duty cycle

RotorDisplacementAngle

Modelica.Magnetic.QuasiStatic.FundamentalWave.Sensors

Rotor lagging angle

CurrentController

Modelica.Magnetic.QuasiStatic.FundamentalWave.Utilities

Current controller

AxisType2

Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.Utilities

Axis model of the r3 joints 4,5,6

JointUSR

Modelica.Mechanics.MultiBody.Joints.Assemblies

Universal - spherical - revolute joint aggregation (no constraints, no potential states)

JointUSP

Modelica.Mechanics.MultiBody.Joints.Assemblies

Universal - spherical - prismatic joint aggregation (no constraints, no potential states)

JointSSR

Modelica.Mechanics.MultiBody.Joints.Assemblies

Spherical - spherical - revolute joint aggregation with mass (no constraints, no potential states)

JointSSP

Modelica.Mechanics.MultiBody.Joints.Assemblies

Spherical - spherical - prismatic joint aggregation with mass (no constraints, no potential states)

Vehicle

Modelica.Mechanics.Translational.Components

Simple vehicle model