Gain

Output the product of a gain value with the input signal

Information

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

This block computes output y as product of gain k with the input u:

    y = k * u;

Parameters (1)

k

Value:

Type: Real

Description: Gain value multiplied with input signal

Connectors (2)

u

Type: RealInput

Description: Input signal connector

y

Type: RealOutput

Description: Output signal connector

Used in Examples (24)

BusUsage

Modelica.Blocks.Examples

Demonstrates the usage of a signal bus

DrydenContinuousTurbulence

Modelica.Blocks.Examples.NoiseExamples

Demonstrates how to model wind turbulence for aircraft with the BandLimitedWhiteNoise block (a simple model of vertical Dryden gust speed at low altitudes < 1000 ft)

AIMC_Conveyor

Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines

Test example: AsynchronousInductionMachineSquirrelCage with inverter driving a conveyor

AIMC_withLosses

Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines

Test example: AsynchronousInductionMachineSquirrelCage with losses

SMPM_NoLoad

Modelica.Electrical.Machines.Examples.SynchronousInductionMachines

SMPM at no-load

SMPM_Braking

Modelica.Electrical.Machines.Examples.SynchronousInductionMachines

Test example: PermanentMagnetSynchronousInductionMachine acting as brake

SMEE_LoadDump

Modelica.Electrical.Machines.Examples.SynchronousInductionMachines

Test example: ElectricalExcitedSynchronousInductionMachine with voltage controller

SMEE_Rectifier

Modelica.Electrical.Machines.Examples.SynchronousInductionMachines

Test example: ElectricalExcitedSynchronousInductionMachine with rectifier

HysteresisModelComparison

Modelica.Magnetic.FluxTubes.Examples.Hysteresis

Comparison of the different hysteresis models

AIMC_DOL_MultiPhase

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Direct on line start of multi phase asynchronous induction machine with squirrel cage

AIMC_Conveyor

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Asynchronous induction machine with squirrel cage and inverter driving a conveyor

AIMC_withLosses

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Asynchronous induction machine with squirrel cage and losses

AIMS_Start_MultiPhase

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Starting of multi phase asynchronous induction machine with slip rings

SMPM_Inverter_MultiPhase

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Starting of multi phase permanent magnet synchronous machine with inverter

SMPM_Braking

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Test example: PermanentMagnetSynchronousInductionMachine acting as brake

SMEE_Generator_MultiPhase

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Electrical excited multi phase synchronous machine operating as generator

SMEE_LoadDump

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Test example: ElectricalExcitedSynchronousInductionMachine with voltage controller

SMEE_Rectifier

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Test example: ElectricalExcitedSynchronousInductionMachine with rectifier

SMR_Inverter_MultiPhase

Modelica.Magnetic.FundamentalWave.Examples.BasicMachines

Starting of multi phase synchronous reluctance machine with inverter

IMC_Conveyor

Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines

Induction machine with squirrel cage and inverter driving a conveyor

IMC_withLosses

Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines

Induction machine with squirrel cage and losses

DrumBoiler

Modelica.Fluid.Examples.DrumBoiler

Complete drum boiler model, including evaporator and supplementary components

RoomCO2WithControls

Modelica.Fluid.Examples.TraceSubstances

Demonstrates a room volume with CO2 controls

WaterPump

Modelica.Thermal.FluidHeatFlow.Examples

Water pumping station

Used in Components (19)

PID

Modelica.Blocks.Continuous

PID-controller in additive description form

LimPID

Modelica.Blocks.Continuous

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

Harmonic

Modelica.Blocks.Math

Calculate harmonic over period 1/f

Bode

Modelica.ComplexBlocks.ComplexMath

Calculate quantities to plot Bode diagram

PartialControlledDCPM

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

Partial controlled DC PM drive with H-bridge from battery

LimitedPI

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

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

DcdcInverter

Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities

DC-DC inverter

VoltageQuasiRMSSensor

Modelica.Electrical.Machines.Sensors

Length of space phasor -> RMS voltage

CurrentQuasiRMSSensor

Modelica.Electrical.Machines.Sensors

Length of space phasor -> RMS current

QuasiRMS

Modelica.Electrical.Machines.SpacePhasors.Blocks

ToDQ

Modelica.Electrical.Machines.Utilities

Transform instantaneous stator inputs to rotor fixed space phasor

FromDQ

Modelica.Electrical.Machines.Utilities

Transform rotor fixed space phasor to instantaneous stator quantities

CurrentController

Modelica.Electrical.Machines.Utilities

Current controller

VoltageController

Modelica.Electrical.Machines.Utilities

Voltage controller

Signal2mPulse

Modelica.Electrical.PowerConverters.ACDC.Control

Generic control of 2*m pulse rectifiers

VoltageCenterTap2mPulse

Modelica.Electrical.PowerConverters.ACDC.Control

Control of 2*m pulse center tap rectifier

CurrentController

Modelica.Magnetic.QuasiStatic.FundamentalWave.Utilities

Current controller

Motor

Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.Components

Motor model including current controller of r3 motors

Controller

Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.Components

P-PI cascade controller for one axis