blockDivide
Output first input divided by second input
Information
Block that outputs y = u1 / u2,
where
u1 and u2 are inputs.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u1 | Input for dividend | |
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u2 | Input for divisor | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Output with the quotient |
Revisions
-
January 27, 2022, by Jianjun Hu:
Renamed the block name from Division to Divide.
This is for Buildings, issue 2865. -
March 9, 2020, by Michael Wetter:
Reformulated model to avoid stack overflow in OpenModelica.
This is for Buildings, issue 1819. -
March 2, 2020, by Michael Wetter:
Changed icon to display dynamically the output value. -
January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica Standard Library.