com.powsybl.openloadflow.network.LfLoad Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powsybl-open-loadflow Show documentation
Show all versions of powsybl-open-loadflow Show documentation
An open source loadflow based on PowSyBl
The newest version!
/**
* Copyright (c) 2021, RTE (http://www.rte-france.com)
* 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 http://mozilla.org/MPL/2.0/.
* SPDX-License-Identifier: MPL-2.0
*/
package com.powsybl.openloadflow.network;
import com.powsybl.openloadflow.util.Evaluable;
import java.util.List;
import java.util.Map;
import java.util.Optional;
/**
* @author Anne Tilloy {@literal }
*/
public interface LfLoad extends PropertyBag {
String getId();
LfBus getBus();
boolean isOriginalLoadNotParticipating(String originalId);
Optional getLoadModel();
double getInitialTargetP();
double getTargetP();
double getNonFictitiousLoadTargetP();
void setTargetP(double targetP);
double getTargetQ();
void setTargetQ(double targetQ);
boolean ensurePowerFactorConstantByLoad();
double getAbsVariableTargetP();
void setAbsVariableTargetP(double absVariableTargetP);
double calculateNewTargetQ(double diffTargetP);
List getOriginalIds();
int getOriginalLoadCount();
boolean isOriginalLoadDisabled(String originalId);
void setOriginalLoadDisabled(String originalId, boolean disabled);
Map getOriginalLoadsDisablingStatus();
void setOriginalLoadsDisablingStatus(Map originalLoadsDisablingStatus);
void updateState(boolean loadPowerFactorConstant, boolean breakers);
Evaluable getP();
void setP(Evaluable p);
Evaluable getQ();
void setQ(Evaluable q);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy