SystemModels

SystemModels[]

returns a list of loaded system models.

SystemModels[patt]

returns the models matching the string pattern patt.

SystemModels[patt,"spec"]

only returns specialized models of the kind "spec".

Details

  • SystemModels[patt] allows the same string patterns as StringMatchQ.
  • With SystemModels[patt,"spec"], only models with "spec" are returned:
  • "class"general class
    "model"model class
    "block"input/output block
    "connector"connector class
    "function"function definition
    "package"collection of classes and constants
    "record"collection class
    "type"type specification

Examples

open allclose all

Basic Examples  (3)

Get all models currently available:

Show all examples in the Modelica rotational mechanics library:

Get only a specific type of model:

Scope  (1)

Use a StringExpression to get Modelica standard library examples containing q:

Applications  (1)

Get the number of each model type in the Modelica Standard Library:

Do the same for "IntroductoryExamples" and "DocumentationExamples":

Properties & Relations  (1)

SystemModelExamples returns only models that can be simulated:

SystemModels returns all models, which is usually a much larger list:

Wolfram Research (2018), SystemModels, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemModels.html.

Text

Wolfram Research (2018), SystemModels, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemModels.html.

CMS

Wolfram Language. 2018. "SystemModels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SystemModels.html.

APA

Wolfram Language. (2018). SystemModels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemModels.html

BibTeX

@misc{reference.wolfram_2023_systemmodels, author="Wolfram Research", title="{SystemModels}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/SystemModels.html}", note=[Accessed: 16-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_systemmodels, organization={Wolfram Research}, title={SystemModels}, year={2018}, url={https://reference.wolfram.com/language/ref/SystemModels.html}, note=[Accessed: 16-April-2024 ]}