Esempio n. 1
0
    def define_parameters(self):

        Source.define_parameters(self)

        self.w0 = daeParameter("w0", kg / s, self, "Initial water flowrate")
        self.a0 = daeParameter("a0", Pa, self, "Pump a coefficient 0th order")
        self.a1 = daeParameter("a1", Pa/(kg/s), self, "Pump a coefficient 1st order")
        self.a2 = daeParameter("a2", Pa/(kg**2/s**2), self, "Pump a coefficient 2nd order")
    def define_parameters(self):

        Source.define_parameters(self)

        self.A = daeParameter("A", Pa / ((kg / s)**2), self,
                              "Pump coefficient A")
        self.B = daeParameter("B", Pa / (kg / s), self, "Pump coefficient B")
        self.C = daeParameter("C", Pa, self, "Pump coefficient C")