ModiaSim / Modia.jl

Modeling and simulation of multidomain engineering systems
MIT License
321 stars 38 forks source link

docs: How to describe the Map function? #155

Open alhirzel opened 2 years ago

alhirzel commented 2 years ago

I am a little confused on the difference between merging with the Map function versus the Model function. For instance, is Map only for assigning inputs and outputs whereas Model can add more equations? I didn't see a docstring for the functions and would like to add one once I understand the difference between them. In this thread, can anyone help me understand?

MartinOtter commented 1 year ago

We will improve documentation. Conceptually, Map is for changing existing elements (e.g. parameters) and Model is for adding new elements (e.g. equations, or sub-components). Currently, Map and Model have identical definitions.