blockRealToVector

Takes single input signal and puts it in a specific location in a vector (all other elements are zero)

Extends from TransiEnt.Basics.Icons.Block.

Information

1. Purpose of model

Takes a real input and puts it in a specified location in a vector. All other elements of the vector are set to zero.

2. Level of detail, physical effects considered, and physical insight

(Purely technical component without physical modeling.)

3. Limits of validity

(Purely technical component without physical modeling.)

4. Interfaces

Modelica RealInput: connector of real input signal

Modelica RealOutput: connector of real output signal

5. Nomenclature

(no elements)

6. Governing Equations

(no equations)

7. Remarks for Usage

(no remarks)

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Model created by Pascal Dubucq (dubucq@tuhh.de), Aug 2014

Model revised by Pascal Dubucq (dubucq@tuhh.de), Apr 2017 : code conventions

Parameters

TypeNameDefaultDescription
Integernout1Number of outputs
Integerindex

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputuConnector of Real input signals
Modelica.Blocks.Interfaces.RealOutput[nout]yConnector of Real output signals