MCPcopy Create free account
hub / github.com/NTNU-IHB/PythonFMU / __init__

Method __init__

pythonfmu/tests/test_fmi2slave.py:16–19  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

14 class Slave(Fmi2Slave):
15
16 def __init__(self, **kwargs):
17 super().__init__(**kwargs)
18 if model is not None:
19 self.modelName = model
20
21 def do_step(self, t, dt):
22 return True

Callers

nothing calls this directly

Calls 1

register_variableMethod · 0.80

Tested by

no test coverage detected