@@ -374,7 +374,7 @@ def __init__(
374374 self ._work_dir : OMCPath = self .setWorkDirectory (customBuildDirectory )
375375
376376 self ._model_name : Optional [str ] = None
377- self ._lmodel : Optional [list [str | tuple [str , str ]]] = None
377+ self ._libraries : Optional [list [str | tuple [str , str ]]] = None
378378 self ._file_name : Optional [OMCPath ] = None
379379 self ._variable_filter : Optional [str ] = None
380380
@@ -442,8 +442,8 @@ def model(
442442 if self ._file_name is not None and not self ._file_name .is_file (): # if file does not exist
443443 raise IOError (f"{ self ._file_name } does not exist!" )
444444
445- if self ._lmodel :
446- self ._loadLibrary (lmodel = self ._lmodel )
445+ if self ._libraries :
446+ self ._loadLibrary (libraries = self ._libraries )
447447 if self ._file_name is not None :
448448 self ._loadFile (fileName = self ._file_name )
449449
@@ -462,9 +462,9 @@ def _loadFile(self, fileName: OMCPath):
462462 self .sendExpression (f'loadFile("{ fileName .as_posix ()} ")' )
463463
464464 # for loading file/package, loading model and building model
465- def _loadLibrary (self , lmodel : list ):
465+ def _loadLibrary (self , libraries : list ):
466466 # load Modelica standard libraries or Modelica files if needed
467- for element in lmodel :
467+ for element in libraries :
468468 if element is not None :
469469 if isinstance (element , str ):
470470 if element .endswith (".mo" ):
0 commit comments