package memap.messages.planning;

import com.google.gson.Gson;

import akka.basicMessages.AnswerContent;
import memap.messages.extension.NetworkType;

public class StorageMessage implements AnswerContent {
	
	public String id;
	public String name;
	
	public double operationalCostEUR;
	public double operationalCostCO2;
	
	public double capacity;
	public double stateOfCharge;
	
	public double maxLoad;
	public double maxDischarge;
	
	public double efficiencyCharge;
	public double efficiencyDischarge;
	
	public double storageLosses; //Input-Unit, mostly given as [kWh/24h] at SOC=0.75
	
	public NetworkType networkType;
	
	public String toString() {
		Gson gson = new Gson();
		String result = "";
		result = gson.toJson(this);
		return result;
	}

}

package memap.messages.planning;

import com.google.gson.Gson;

import akka.basicMessages.AnswerContent;
import memap.messages.extension.NetworkType;

public class StorageMessage implements AnswerContent {
	
	public String id;
	public String name;
	
	public double operationalCostEUR;
	public double operationalCostCO2;
	
	public double capacity;
	public double stateOfCharge;
	
	public double maxLoad;
	public double maxDischarge;
	
	public double efficiencyCharge;
	public double efficiencyDischarge;
	
	public double storageLosses;
	
	public double alpha;
	public double beta_to;
	public double beta_fm;
	
	public NetworkType networkType;
	
	public String toString() {
		Gson gson = new Gson();
		String result = "";
		result = gson.toJson(this);
		return result;
	}

}

Revert "Removed alphas and betas, moved to MILPProblemWithConnections"