A physical domain provides an environment, defined primarily by its Across and Through variables, for connecting the components in a Physical Network.
To define a new physical domain, you must declare the Through and Across variables associated with it.
Overview of the Simscape file types and structure.
Declaration section of domain and component files: purpose, definitions, rules, member summaries.
In a domain file, you have to declare the Through and Across variables associated with the domain.
How to connect Through and Across variables declared in a component file to the domain Through and Across variables.
The following file, named
declares a mechanical rotational domain, with angular velocity as
an Across variable and torque as a Through variable.
The purpose of domain parameters is to propagate the same parameter value to all or some of the components connected to the domain.
Model attributes and member attributes used in Simscape language.