Main Content

Foundation ドメインおよびカスタム ドメイン

カスタム ドメインを表す Simscape™ ファイルの作成、および Foundation ドメインの定義の表示

Simscape ソフトウェアには、機械並進、機械回転、電気などの事前定義されたドメインがいくつか付属しています。これらのドメインは Foundation ライブラリに含まれており、Simscape Foundation のブロック、さらに Simscape のアドオン製品のブロック (Simscape Fluids™ または Simscape Electrical™ のブロックなど) の基礎になっています。Simscape の標準ブロックに接続するカスタム コンポーネントを作成する場合は、Foundation ドメインの定義を使用してください。Foundation ドメインの完全な一覧については、Foundation のドメイン タイプとディレクトリ構造を参照してください。

Foundation ドメインの定義がモデル化要件を満たさない場合にのみ、新しいカスタム ドメインを定義する必要があります。詳細については、When to Define a New Physical Domainを参照してください。


domainDomain model keywords
equationsDefine component or domain equations
parametersDeclare domain or component parameters
variablesDeclare domain or component variables


カスタム ドメイン

  • When to Define a New Physical Domain
    A physical domain provides an environment, defined primarily by its Across and Through variables, for connecting the components in a Physical Network. Component nodes are typed by domain, that is, each component node is associated with a unique type of domain and can be connected only to nodes associated with the same domain.
  • How to Define a New Physical Domain
    To define a new physical domain, you must declare the Through and Across variables associated with it. For more information, see 物理ネットワークのモデル化の基本原則 in the Simscape User's Guide.
  • Simscape File Types and Structure
    Overview of the Simscape file types and structure.
  • Declaring Domains and Components
    Declaration section of domain and component files: purpose, definitions, rules, member summaries.
  • Declare Through and Across Variables for a Domain
    In a domain file, you have to declare the Through and Across variables associated with the domain. These variables characterize the energy flow and usually come in pairs, one Through and one Across. Simscape language does not require that you have the same number of Through and Across variables in a domain definition, but it is highly recommended. For more information, see 物理ネットワークのモデル化の基本原則.
  • Define Relationship Between Component Variables and Nodes
    How to connect Through and Across variables declared in a component file to the domain Through and Across variables.
  • Declare a Mechanical Rotational Domain
    The following file, named rotational.ssc, declares a mechanical rotational domain, with angular velocity as an Across variable and torque as a Through variable.
  • Working with Domain Parameters
    The purpose of domain parameters is to propagate the same parameter value to all or some of the components connected to the domain.
  • Domain Equations
    Specify additional equations to propagate to all the components that have nodes of the corresponding domain type.
  • Attribute Lists
    Model attributes and member attributes used in Simscape language.