def __init__(self, modelname='modflowtest', namefile_ext='nam', exe_name='mf2k.exe', model_ws=None, structured=True, verbose=False, **kwargs):
    'Initialize BaseModel.'
    super().__init__()
    self.__name = modelname
    self.namefile_ext = (namefile_ext or '')
    self._namefile = ((self.__name + '.') + self.namefile_ext)
    self._packagelist = []
    self.heading = ''
    self.exe_name = exe_name
    self._verbose = verbose
    self.external_path = None
    self.external_extension = 'ref'
    if (model_ws is None):
        model_ws = os.getcwd()
    if (not os.path.exists(model_ws)):
        try:
            os.makedirs(model_ws)
        except:
            print(f'''
{model_ws} not valid, workspace-folder was changed to {os.getcwd()}
''')
            model_ws = os.getcwd()
    self._model_ws = model_ws
    self.structured = structured
    self.pop_key_list = []
    self.cl_params = ''
    xll = kwargs.pop('xll', None)
    yll = kwargs.pop('yll', None)
    self._xul = kwargs.pop('xul', None)
    self._yul = kwargs.pop('yul', None)
    self._rotation = kwargs.pop('rotation', 0.0)
    self._proj4_str = kwargs.pop('proj4_str', None)
    self._start_datetime = kwargs.pop('start_datetime', '1-1-1970')
    self._modelgrid = Grid(proj4=self._proj4_str, xoff=xll, yoff=yll, angrot=self._rotation)
    self._modeltime = None
    self.__onunit__ = 10
    self.array_free_format = True
    self.free_format_input = True
    self.parameter_load = False
    self.array_format = None
    self.external_fnames = []
    self.external_units = []
    self.external_binflag = []
    self.external_output = []
    self.package_units = []
    self._next_ext_unit = None
    self.output_fnames = []
    self.output_units = []
    self.output_binflag = []
    self.output_packages = []
    return
Initialize BaseModel.
def __init__(self, modelname='modflowtest', namefile_ext='nam', exe_name='mf2k.exe', model_ws=None, structured=True, verbose=False, **kwargs):
    
    super().__init__()
    self.__name = modelname
    self.namefile_ext = (namefile_ext or )
    self._namefile = ((self.__name + '.') + self.namefile_ext)
    self._packagelist = []
    self.heading = 
    self.exe_name = exe_name
    self._verbose = verbose
    self.external_path = None
    self.external_extension = 'ref'
    if (model_ws is None):
        model_ws = os.getcwd()
    if (not os.path.exists(model_ws)):
        try:
            os.makedirs(model_ws)
        except:
            print(f'
{model_ws} not valid, workspace-folder was changed to {os.getcwd()}
')
            model_ws = os.getcwd()
    self._model_ws = model_ws
    self.structured = structured
    self.pop_key_list = []
    self.cl_params = 
    xll = kwargs.pop('xll', None)
    yll = kwargs.pop('yll', None)
    self._xul = kwargs.pop('xul', None)
    self._yul = kwargs.pop('yul', None)
    self._rotation = kwargs.pop('rotation', 0.0)
    self._proj4_str = kwargs.pop('proj4_str', None)
    self._start_datetime = kwargs.pop('start_datetime', '1-1-1970')
    self._modelgrid = Grid(proj4=self._proj4_str, xoff=xll, yoff=yll, angrot=self._rotation)
    self._modeltime = None
    self.__onunit__ = 10
    self.array_free_format = True
    self.free_format_input = True
    self.parameter_load = False
    self.array_format = None
    self.external_fnames = []
    self.external_units = []
    self.external_binflag = []
    self.external_output = []
    self.package_units = []
    self._next_ext_unit = None
    self.output_fnames = []
    self.output_units = []
    self.output_binflag = []
    self.output_packages = []
    return