def setup(self):
        """
        setup the call list after case file is parsed and jit models are loaded
        """
        self.devices = self.system.devman.devices
        self.ndevice = len(self.devices)

        self.gcalls = [''] * self.ndevice
        self.fcalls = [''] * self.ndevice
        self.gycalls = [''] * self.ndevice
        self.fxcalls = [''] * self.ndevice
        self.jac0s = [''] * self.ndevice

        self.build_vec()
        self.build_strings()
        self._compile_newton()
        self._compile_fdpf()
        self._compile_pfload()
        self._compile_pfgen()
        self._compile_seriesflow()
        self._compile_int()
        self._compile_int_f()
        self._compile_int_g()
        self._compile_bus_injection()
def setup ( self ) : self . devices = self . system . devman . devices self . ndevice = len ( self . devices ) self . gcalls = [ '' ] * self . ndevice self . fcalls = [ '' ] * self . ndevice self . gycalls = [ '' ] * self . ndevice self . fxcalls = [ '' ] * self . ndevice self . jac0s = [ '' ] * self . ndevice self . build_vec ( ) self . build_strings ( ) self . _compile_newton ( ) self . _compile_fdpf ( ) self . _compile_pfload ( ) self . _compile_pfgen ( ) self . _compile_seriesflow ( ) self . _compile_int ( ) self . _compile_int_f ( ) self . _compile_int_g ( ) self . _compile_bus_injection ( )
setup the call list after case file is parsed and jit models are loaded