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 (45)

RealNetwork1

Modelica.Blocks.Examples

Demonstrates the usage of blocks from Modelica.Blocks.Math

UniformNoiseProperties

Modelica.Blocks.Examples.NoiseExamples

Demonstrates the computation of properties for uniformally distributed noise

NormalNoiseProperties

Modelica.Blocks.Examples.NoiseExamples

Demonstrates the computation of properties for normally distributed noise

Densities

Modelica.Blocks.Examples.NoiseExamples

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

Rectifier

Modelica.Electrical.Analog.Examples

B6 diode bridge

SMPM_CurrentSource

Modelica.Electrical.Machines.Examples.SynchronousInductionMachines

Test example: PermanentMagnetSynchronousInductionMachine fed by current source

SMPM_VoltageSource

Modelica.Electrical.Machines.Examples.SynchronousInductionMachines

Test example: PermanentMagnetSynchronousInductionMachine fed by FOC

SMEE_Rectifier

Modelica.Electrical.Machines.Examples.SynchronousInductionMachines

Test example: ElectricalExcitedSynchronousInductionMachine with rectifier

DCPM_Temperature

Modelica.Electrical.Machines.Examples.DCMachines

Test example: Investigate temperature dependency of a DCPM motor

TestSensors

Modelica.Electrical.MultiPhase.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.MultiPhaseTwoLevel

Test of pulse width modulation methods

SeriesResonance

Modelica.Electrical.QuasiStationary.SinglePhase.Examples

Series resonance circuit

ParallelResonance

Modelica.Electrical.QuasiStationary.SinglePhase.Examples

Parallel resonance circuit

Transformer

Modelica.Electrical.QuasiStationary.SinglePhase.Examples

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

TestSensors

Modelica.Electrical.QuasiStationary.MultiPhase.Examples

SMPM_CurrentSource

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Test example: PermanentMagnetSynchronousInductionMachine fed by current source

SMPM_VoltageSource

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Test example: PermanentMagnetSynchronousInductionMachine fed by FOC

SMEE_Rectifier

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Test example: ElectricalExcitedSynchronousInductionMachine with rectifier

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 (30)

MotorWithCurrentControl

Modelica.Blocks.Examples.NoiseExamples.Utilities.Parts

Synchronous induction 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

Potentiometer

Modelica.Electrical.Analog.Basic

Adjustable resistor

LimitedPI

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

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

RotorDisplacementAngle

Modelica.Electrical.Machines.Sensors

Rotor lagging angle

ThermalAmbientAIMC

Modelica.Electrical.Machines.Thermal.AsynchronousInductionMachines

Thermal ambient for asynchronous induction machine with squirrel cage

ThermalAmbientAIMS

Modelica.Electrical.Machines.Thermal.AsynchronousInductionMachines

Thermal ambient for asynchronous induction machine with slipring

ThermalAmbientSMPM

Modelica.Electrical.Machines.Thermal.SynchronousInductionMachines

Thermal ambient for synchronous induction machine with permanent magnets

ThermalAmbientSMEE

Modelica.Electrical.Machines.Thermal.SynchronousInductionMachines

Thermal ambient for synchronous induction machine with electrical excitation

ThermalAmbientSMR

Modelica.Electrical.Machines.Thermal.SynchronousInductionMachines

Thermal ambient for synchronous induction 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 ambient for induction machines

PartialThermalAmbientDCMachines

Modelica.Electrical.Machines.Interfaces.DCMachines

Partial thermal ambient for DC machines

FromDQ

Modelica.Electrical.Machines.Utilities

Transform rotor fixed space phasor to instantaneous stator quantities

CurrentController

Modelica.Electrical.Machines.Utilities

Current controller

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

VoltageToDutyCycle

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.Components

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)