Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
model:creating_a_model_in_python [2025/02/18 03:41]
optrix
model:creating_a_model_in_python [2025/02/18 05:02] (current)
optrix
Line 32: Line 32:
 <code> <code>
 #My Tank Model #My Tank Model
-@mdl.part("Tank Model")+@mdl.part("Online Tank Model")
 def TankModel(mod): def TankModel(mod):
    pass    pass
Line 39: Line 39:
 The '@part' decorator marks the function defines a **model**. Inside the function, we can define which specific inputs, outputs, constants and calculations we need. The '@part' decorator marks the function defines a **model**. Inside the function, we can define which specific inputs, outputs, constants and calculations we need.
  
-Right now, we're creating an //empty// model called 'Tank Model'.+The human readable name for our model is 'Online Tank Model'.
  
 ===Filling in the Inputs=== ===Filling in the Inputs===