コード例 #1
0
ファイル: nrel_csm_opex.py プロジェクト: WISDEM/Plant_CostsSE
    def __init__(self):
        """
        OpenMDAO component to wrap O&M model of the NREL _cost and Scaling model data (csmOM.py).

        """
        Component.__init__(self)

        #controls what happens if derivatives are missing
        self.missing_deriv_policy = 'assume_zero'
コード例 #2
0
    def __init__(self):
        '''
        Initial computation of the costs for the wind turbine gearbox component.
        '''

        Component.__init__(self)

        #controls what happens if derivatives are missing
        self.missing_deriv_policy = 'assume_zero'
コード例 #3
0
    def __init__(self):
        """
        OpenMDAO component to wrap finance model of the NREL Cost and Scaling Model (csmFinance.py)
        """

        Component.__init__(self)

        # controls what happens if derivatives are missing
        self.missing_deriv_policy = "assume_zero"
コード例 #4
0
    def __init__(self):
        """
        OpenMDAO component to wrap BOS model of the NREL _cost and Scaling Model (csmBOS.py)

        """
        #super(bos_csm_component, self).__init__() #update for FUSED - not recognizing bos_csm_component super due to decorator
        Component.__init__(self)

        #controls what happens if derivatives are missing
        self.missing_deriv_policy = 'assume_zero'
コード例 #5
0
    def __init__(self):
        """
        OpenMDAO component to wrap BOS model of the NREL _cost and Scaling Model (csmBOS.py)

        """
        #super(bos_csm_component, self).__init__() #update for FUSED - not recognizing bos_csm_component super due to decorator
        Component.__init__(self)

        #controls what happens if derivatives are missing
        self.missing_deriv_policy = 'assume_zero' 
コード例 #6
0
    def __init__(self, ssfile=None):
        """
        OpenMDAO component to wrap ECN Offshore O&M Excel Model (ecnomXLS.py).
        Call __init__ with a file name to override default ECN spreadsheet file
        """
        
        Component.__init__(self)

        #open excel account
        self.ecnxls = ecnomXLS(debug=False)
        self.ecnxls.ssopen(ssfile)
コード例 #7
0
    def __init__(self, ssfile=None):
        """
        OpenMDAO component to wrap ECN Offshore O&M Excel Model (ecnomXLS.py).
        Call __init__ with a file name to override default ECN spreadsheet file
        """

        Component.__init__(self)

        #open excel account
        self.ecnxls = ecnomXLS(debug=False)
        self.ecnxls.ssopen(ssfile)
コード例 #8
0
    def __init__(self):

        Component.__init__(self)

        #controls what happens if derivatives are missing
        self.missing_deriv_policy = 'assume_zero'
コード例 #9
0
    def __init__(self):

        Component.__init__(self)

        self.missing_deriv_policy = 'assume_zero'
コード例 #10
0
ファイル: basic_aep.py プロジェクト: FUSED-Wind/fusedwind
 def __init__(self):
     
     Component.__init__(self)
     
     self.missing_deriv_policy = 'assume_zero'
コード例 #11
0
ファイル: basic_aep.py プロジェクト: FUSED-Wind/fusedwind
    def __init__(self):

        Component.__init__(self)

        #controls what happens if derivatives are missing
        self.missing_deriv_policy = 'assume_zero'