Skip to content
Blocks.LinearDependency.md

Blocks.LinearDependency ​

This component extends from SI2SO

Usage ​

TranslatedComponents.Blocks.LinearDependency(y0=0, k1=0, k2=0)

Parameters: ​

NameDescriptionUnitsDefault value
y0–0
k1–0
k2–0

Connectors ​

  • u1 - This connector represents a real signal as an input to a component (RealInput)

  • u2 - This connector represents a real signal as an input to a component (RealInput)

  • y - This connector represents a real signal as an output from a component (RealOutput)

Behavior ​

y(t)=y0+k1u1(t)+k2u2(t)

Source ​

dyad
component LinearDependency
  extends SI2SO
  parameter y0::Real = 0
  parameter k1::Real = 0
  parameter k2::Real = 0
relations
  y = y0 + k1 * u1 + k2 * u2
end
Flattened Source
dyad
component LinearDependency
  u1 = RealInput()
  u2 = RealInput()
  y = RealOutput()
  parameter y0::Real = 0
  parameter k1::Real = 0
  parameter k2::Real = 0
relations
  y = y0 + k1 * u1 + k2 * u2
metadata {}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses