WOLFRAM SYSTEM MODELER

RealExpression

Set output signal to a time varying Real expression

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Sources.RealExpression"]
Out[1]:=

Information

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

The (time varying) Real output signal of this block can be defined in its parameter menu via variable y. The purpose is to support the easy definition of Real expressions in a block diagram. For example, in the y-menu the definition "if time < 1 then 0 else 1" can be given in order to define that the output signal is one, if time ≥ 1 and otherwise it is zero. Note, that "time" is a built-in variable that is always accessible and represents the "model time" and that variable y is both a variable and a connector.

Connectors (1)

y

Type: RealOutput

Description: Value of Real output

Used in Examples (7)

ExecutionPaths

Modelica.StateGraph.Examples

Example to demonstrate parallel and alternative execution paths

TestSensors

Modelica.Electrical.Polyphase.Examples

TestSensors

Modelica.Electrical.QuasiStatic.Polyphase.Examples

QuadraticCoreAirgap

Modelica.Magnetic.FluxTubes.Examples.BasicExamples

Educational example: iron core with airgap

ThreePhaseTransformerWithRectifier

Modelica.Magnetic.FluxTubes.Examples.Hysteresis

Three-phase transformer (including hysteresis effect) with rectifier

QuadraticCoreAirgap

Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples

Educational example: iron core with airgap

ControlledTanks

Modelica.Fluid.Examples.ControlledTankSystem

Demonstrating the controller of a tank filling/emptying system

Used in Components (4)

Part

Modelica.Blocks.Examples.BusUsage_Utilities

Component with sub-control bus

SwitchedCapacitor

Modelica.Electrical.Analog.Examples.Utilities

Switched capacitor which can represent a positive or negative resistance

BaseStackWithSensors

Modelica.Electrical.Batteries.BaseClasses

Partial stack with sensors

DQCurrentController

Modelica.Electrical.Machines.Utilities

Current controller in dq coordinate system