Q$(instance)HeatFlowSensor Icon

HeatFlowSensor

Heat flow rate sensor

Usage

HeatFlowSensor()

Connectors

  • Q - This connector represents a real signal as an output from a component (RealOutput)
  • node_a - (Node)
  • node_b - (Node)

Behavior

\[ \begin{align} \mathtt{node\_a.T}\left( t \right) &= \mathtt{node\_b.T}\left( t \right) \\ \mathtt{node\_a.Q}\left( t \right) + \mathtt{node\_b.Q}\left( t \right) &= 0 \\ Q\left( t \right) &= \mathtt{node\_a.Q}\left( t \right) \end{align} \]

Source

# Heat flow rate sensor
component HeatFlowSensor
  # Heat flow from node_a to node_b as output signal
  Q = RealOutput() [{
    "JuliaSim": {"placement": {"icon": {"x1": 400, "y1": 900, "x2": 600, "y2": 1100}}}
  }]
  node_a = Node() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}}
    }
  }]
  node_b = Node() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
relations
  node_a.T = node_b.T
  node_a.Q+node_b.Q = 0
  Q = node_a.Q
end
Flattened Source
# Heat flow rate sensor
component HeatFlowSensor
  # Heat flow from node_a to node_b as output signal
  Q = RealOutput() [{
    "JuliaSim": {"placement": {"icon": {"x1": 400, "y1": 900, "x2": 600, "y2": 1100}}}
  }]
  node_a = Node() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "node_a", "x1": -100, "y1": 400, "x2": 100, "y2": 600}}
    }
  }]
  node_b = Node() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "node_b", "x1": 900, "y1": 400, "x2": 1100, "y2": 600}}
    }
  }]
relations
  node_a.T = node_b.T
  node_a.Q+node_b.Q = 0
  Q = node_a.Q
metadata {}
end

Test Cases

  • Examples
  • Experiments
  • Analyses