EMlab-generation Documentation  1.0
Documentation of the EMLab-Generation model.
StrategicReserveOperator.java
1 package emlab.gen.domain.agent;
2 
3 import org.neo4j.graphdb.Direction;
4 import org.springframework.data.neo4j.annotation.NodeEntity;
5 import org.springframework.data.neo4j.annotation.RelatedTo;
6 
7 import agentspring.agent.Agent;
8 import agentspring.simulation.SimulationParameter;
10 
17 @NodeEntity
18 public class StrategicReserveOperator extends DecarbonizationAgent implements
19  Agent {
20 
21  public double reserveVolume;
22 
23  @RelatedTo(type = "SROPERATOR_ZONE", elementClass = Zone.class, direction = Direction.OUTGOING)
24  private Zone zone;
25 
26  @SimulationParameter(label = "Dispatch price of strategic reserve capacity ", from = 0, to = 20000)
27  private double reservePriceSR;
28 
29  // @SimulationParameter(label =
30  // "Price Mark-Up for strategic reserve capacity (as multiplier)", from = 1,
31  // to = 2)
32  // private double reservePriceMarkUp;
33 
34  @SimulationParameter(label = "percentage of demand as strategic reserve", from = 0, to = 1)
35  private double reserveVolumePercentSR;
36 
37  public double getReserveVolume() {
38  return reserveVolume;
39  }
40 
41  public void setReserveVolume(double reserveVolume) {
42  this.reserveVolume = reserveVolume;
43  }
44 
45  public Zone getZone() {
46  return zone;
47  }
48 
49  public void setZone(Zone zone) {
50  this.zone = zone;
51  }
52 
53  public double getReservePriceSR() {
54  return reservePriceSR;
55  }
56 
57  public void setReservePriceSR(double reservePriceSR) {
58  this.reservePriceSR = reservePriceSR;
59  }
60 
61  public double getReserveVolumePercentSR() {
62  return reserveVolumePercentSR;
63  }
64 
65  public void setReserveVolumePercentSR(double reserveVolumePercentSR) {
66  this.reserveVolumePercentSR = reserveVolumePercentSR;
67  }
68 
69  // cash is already defined in Decarbonization agent
70 }