WOLFRAM SYSTEMMODELER

ComponentBased

By modeling a electrical circuit using blocks and electrical components the advantage of component based modeling is illustrated.

Package Contents

ElectricCircuit

A component based model of an electrical circuit

BlockCircuit

A block based approach to modeling of an electrical circuit

ElectricCircuit2

A component based model of an electrical circuit with an additional component

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["IntroductoryExamples.ComponentBased"]
Out[1]:=

Information

Block based modeling is well suited for problems where you have a well defined causality, i.e. direction of flow. An example of this type of signal based systems is control systems. However in most cases the causality is not pre-defined, for instance a motor could also be used as a generator depending on if the input signal is the current/voltage or torque. This package illustrates the difference between block based and component based modeling.

For a step by step tutorial see Component-Based—Simple Circuit.

BlockCircuit

A block based implementation of the model.

ElectricCircuit

A component based implementation of the model.

ElectricCircuit2

The same model as above, but with an added capacitor.