Skip to content

Commit 7306588

Browse files
committed
[ModelicaSystem] add docstring for isParameterChangeable
1 parent bf7e072 commit 7306588

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,6 +1409,10 @@ def isParameterChangeable(
14091409
self,
14101410
name: str,
14111411
) -> bool:
1412+
"""
1413+
Return if the parameter defined by name is changeable (= non-structural; can be modified without the need to
1414+
recompile the model).
1415+
"""
14121416
q = self.getQuantities(name)
14131417
if q[0]["changeable"] == "false":
14141418
return False

0 commit comments

Comments
 (0)