SIMSCAPE MODELING RULES
Each Domain Requires at Least One Reference Block
Each Circuit Requires at Least One Reference Block
Multiple Connections to the Domain Reference Are Allowed Within a Circuit
Each Domain Requires at Least One Reference Block
Within a physical network, each domain must contain at least one reference block of the
appropriate type. For example, the electromechanical model shown in the following diagram
has both Electrical Reference and Rotational Reference blocks attached to the appropriate
circuits.
Each Circuit Requires at Least One Reference Block
Each topologically distinct circuit within a domain must contain at least one reference block.
Some blocks, such as an Ideal Transformer, interface two parts of the network but do not convey
information about signal levels relative to the reference block. In the following diagram, there
are two separate electrical circuits, and the Electrical Reference blocks are required on both
sides of the Ideal Transformer block.
1
The next diagram would produce an error because it is lacking an electrical reference in the
circuit of the secondary winding.
The following diagram, however, will not produce an error because the resistor defines the
output voltage relative to the ground reference.
Multiple Connections to the Domain Reference are allowed within a Circuit
More than one reference block may be used within a circuit to define multiple connections to
the domain reference:
Electrical conserving ports of all the blocks that are directly connected to ground must be
connected to an Electrical Reference block.
All translational ports that are rigidly clamped to the frame (ground) must be connected to a
Mechanical Translational Reference block.
All rotational ports that are rigidly clamped to the frame (ground) must be connected to a
Mechanical Rotational Reference block.
Hydraulic conserving ports of all the blocks that are referenced to atmosphere (for example,
suction ports of hydraulic pumps, or return ports of valves, cylinders, pipelines, if they are
considered directly connected to atmosphere) must be connected to a Hydraulic Reference
block.
2
For example, the following diagram correctly indicates two separate connections to an
electrical ground.
Quelle: MATLAB documentation