class UcteNode implements UcteRecord, Comparable<UcteNode> {

    public boolean isRegulatingFrequency() {
        // we consider the node can regulate frequency if active power generation
        // is defined and if the node inject some power in the network
        return !Float.isNaN(activePowerGeneration) && activePowerGeneration < 0;
    }

    public  UcteNode(UcteNodeCode code, String geographicalName, UcteNodeStatus status, UcteNodeTypeCode typeCode,
                    float voltageReference, float activeLoad, float reactiveLoad, float activePowerGeneration,
                    float reactivePowerGeneration, float minimumPermissibleActivePowerGeneration,
                    float maximumPermissibleActivePowerGeneration, float minimumPermissibleReactivePowerGeneration,
                    float maximumPermissibleReactivePowerGeneration, float staticOfPrimaryControl,
                    float nominalPowerPrimaryControl, float threePhaseShortCircuitPower, float xrRatio,
                    UctePowerPlantType powerPlantType);

}