public interface RuleBase
extends org.eclipse.emf.ecore.EObject
The following features are supported:
MCaseRulePackage.getRuleBase()| Modifier and Type | Method and Description |
|---|---|
void |
add(RuleSet ruleSet)
add rule set to the rule base.
|
java.util.List<java.lang.String> |
apply(LoadflowAlgorithm algo,
IPSSMsgHub msg)
Apply this rule base to the AclfNet object contained by the algo object.
|
boolean |
applyForPriority(Network net,
int priority,
IPSSMsgHub msg)
Apply rule sets in the rule base with the specified priority.
|
org.eclipse.emf.common.util.EList<RuleSet> |
getRuleSets()
Returns the value of the 'Rule Sets' containment reference list.
|
int |
getUpperPriorityValue()
get upper (highest) rule set priority in the rule base.
|
SecAnalysisViolationType |
getViolateType()
Returns the value of the 'Violate Type' attribute.
|
double |
getVLowerLimitPU()
Returns the value of the 'VLower Limit PU' attribute.
|
double |
getVUpperLimitPU()
Returns the value of the 'VUpper Limit PU' attribute.
|
boolean |
isApplyRuleBase()
Returns the value of the 'Apply Rule Base' attribute.
|
void |
setApplyRuleBase(boolean value)
Sets the value of the '
Apply Rule Base' attribute. |
void |
setViolateType(SecAnalysisViolationType value)
Sets the value of the '
Violate Type' attribute. |
void |
setVLowerLimitPU(double value)
Sets the value of the '
VLower Limit PU' attribute. |
void |
setVoltageLimit(double upperLimit,
double lowerLimit)
set upper/lower limit for voltage limit related rules.
|
void |
setVUpperLimitPU(double value)
Sets the value of the '
VUpper Limit PU' attribute. |
SecAnalysisViolationType getViolateType()
SecAnalysisViolationType.
If the meaning of the 'Violate Type' attribute isn't clear, there really should be more of a description here...
violation type of the rule base.SecAnalysisViolationType,
setViolateType(SecAnalysisViolationType),
MCaseRulePackage.getRuleBase_ViolateType()void setViolateType(SecAnalysisViolationType value)
Violate Type' attribute.
value - the new value of the 'Violate Type' attribute.SecAnalysisViolationType,
getViolateType()double getVUpperLimitPU()
If the meaning of the 'VUpper Limit PU' attribute isn't clear, there really should be more of a description here...
voltage upper limit for voltage violation rulessetVUpperLimitPU(double),
MCaseRulePackage.getRuleBase_VUpperLimitPU()void setVUpperLimitPU(double value)
VUpper Limit PU' attribute.
value - the new value of the 'VUpper Limit PU' attribute.getVUpperLimitPU()double getVLowerLimitPU()
If the meaning of the 'VLower Limit PU' attribute isn't clear, there really should be more of a description here...
voltage lower limit for voltage violation rulessetVLowerLimitPU(double),
MCaseRulePackage.getRuleBase_VLowerLimitPU()void setVLowerLimitPU(double value)
VLower Limit PU' attribute.
value - the new value of the 'VLower Limit PU' attribute.getVLowerLimitPU()boolean isApplyRuleBase()
If the meaning of the 'Apply Rule Base' attribute isn't clear, there really should be more of a description here...
option to turn on/off this rule base.setApplyRuleBase(boolean),
MCaseRulePackage.getRuleBase_ApplyRuleBase()void setApplyRuleBase(boolean value)
Apply Rule Base' attribute.
value - the new value of the 'Apply Rule Base' attribute.isApplyRuleBase()org.eclipse.emf.common.util.EList<RuleSet> getRuleSets()
RuleSet.
If the meaning of the 'Rule Sets' reference isn't clear, there really should be more of a description here...
Rule set listMCaseRulePackage.getRuleBase_RuleSets()java.util.List<java.lang.String> apply(LoadflowAlgorithm algo, IPSSMsgHub msg) throws InterpssException
InterpssExceptionboolean applyForPriority(Network net, int priority, IPSSMsgHub msg) throws InterpssException
InterpssExceptionvoid add(RuleSet ruleSet)
int getUpperPriorityValue()
void setVoltageLimit(double upperLimit,
double lowerLimit)