Modia.jl icon indicating copy to clipboard operation
Modia.jl copied to clipboard

docs: How to describe the Map function?

Open alhirzel opened this issue 1 year ago • 1 comments

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?

alhirzel avatar Aug 31 '22 00:08 alhirzel

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.

MartinOtter avatar Mar 28 '23 15:03 MartinOtter