# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
# SPDX-License-Identifier: MPL-2.0
from VeraGridEngine.DataStructures.fluid_turbine_data import FluidTurbineData
[docs]
class FluidPumpData(FluidTurbineData):
"""
FluidPumpData
"""
def __init__(self, nelm: int):
"""
Fluid pump data arrays
:param nelm: number of fluid pumps
"""
FluidTurbineData.__init__(self,
nelm=nelm)
[docs]
def copy(self) -> "FluidPumpData":
"""
Get deep copy of this structure
:return: new FluidPumpData instance
"""
data: FluidPumpData = super().copy()
data.__class__ = FluidPumpData
return data