Class LinearGlsk


  • public class LinearGlsk
    extends SensitivityVariable
    Sensitivity variable on a linear GLSK GLSK for "Generation and Load Shift Keys" describes a combination of power injection shift (positive or negative) on generators and loads. This implementation only deals with "factor" GLSK, that means linear combination of each injection.
    • Constructor Detail

      • LinearGlsk

        public LinearGlsk​(String id,
                          String name,
                          Map<String,​Float> glskMap)
        Constructor
        Parameters:
        id - unique identifier of the variable
        name - readable name of the variable
        glskMap - map from GLSK injection to factor
        Throws:
        RuntimeException - if glskCollection is null or empty
    • Method Detail

      • getGLSKs

        public Map<String,​Float> getGLSKs()
        Get a map of the device ids included in the GLSK and their given factor
        Returns:
        a map associating the device ids with their factor