Physical bus

Bundles named physical connections of any type into one bus line, or splits them out again. Elements with the same name on the bus blocks of one bus line are joined.

  • electrical
  • Gradara equations
  • 3 ports
BlockPhysical busKindphysicalBusLibraryRouting

Description

Bundles named physical connections into one bus line, or splits them out again, as Simscape Bus does. Each element is a terminal with a name and a type: electrical, rotational, translational, thermal, magnetic, or 3-phase. One line can carry a motor’s abc phases, its shaft, and its thermal port together.

Wire the bus terminal to another Physical bus, directly, through junctions, or through a subsystem’s physical bus port. The elements with the same name on every bus block of one bus line become one node, whatever order they are listed in. A physical connection has no direction, so the same block bundles at one end and splits at the other: flip it so its bus terminal faces the line.

Example

Physical bus A supply’s two rails and a heater’s heat flow travel to the load as one bus line.

Supply 12 VGroundHeater 20 WBus outBus inLoad 6 ΩLoad voltageHeat capacityTemperature
In Gradara, select a Physical bus block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:Heat capacitorFixed heat flowTemperature sensorGroundResistorDC voltageVoltage sensor

Ports

Conserving terminals 3

  • p1e1

    The first element (p1 by default): a physical terminal of the type set for it.

  • p2e2

    The second element (p2 by default).

  • bus

    The bus terminal: every element, by name.

Equations

Modelica
Every element named n on one bus line is one node: the potentials are equal and the flows sum to zero.

Assumptions and limitations

  • Names are a letter, then letters, digits, or _, and must differ within one block. Elements with one name on one bus line must be the same type; model checks report it otherwise.
  • An element on one end with no partner on the other is simply left open.
  • A physical bus carries physical connections only; use a Bus Creator for signals. A connection label cannot carry a bus yet.

Tips

  • Edit the elements under Elements in its properties: add, rename, reorder, or set a type. An unwired element takes the type of the first terminal you connect; a wired one keeps its wire’s type.
  • Give a subsystem a port of type Physical bus and the bus carries into it the elements its inside uses.

See also

Select a block in Gradara and press F1 to open its page offline.