                     "Description": "Switch to allow capacity p_nom to be extended",
                     "Unit": "" },
                    {"Name": "p_nom_min",
-                    "Description": "...",
+                    "Description": "If p_nom is extendable, set its minimum value",
                     "Unit": "" },
                    {"Name": "p_nom_max",
-                    "Description": "...",
+                    "Description": "If p_nom is extendable, set its maximum value (e.g. limited by potential)",
                     "Unit": "" },
                    {"Name": "p_min_pu_fixed",
-                    "Description": "...",
-                    "Unit": "" },
+                    "Description": "If control=”flexible” this gives the minimum output per unit of p_nom",
+                    "Unit": "per unit" },
                    {"Name": "p_max_pu_fixed",
-                    "Description": "...",
-                    "Unit": "" },
+                    "Description": "If control=”flexible” this gives the maximum output per unit of p_nom, equivalent to a de-rating factor.",
+                    "Unit": "per unit" },
                    {"Name": "sign",
-                    "Description": "...",
+                    "Description": "power sign",
                     "Unit": "" },
                    {"Name": "source",
-                    "Description": "...",
+                    "Description": "prime mover energy carrier",
                     "Unit": "" },
                    {"Name": "marginal_cost",
-                    "Description": "...",
-                    "Unit": "" },
+                    "Description": "Marginal cost of production of 1 MWh",
+                    "Unit": "€/MWh" },
                    {"Name": "capital_cost",
-                    "Description": "...",
-                    "Unit": "" },
+                    "Description": "Capital cost of extending p_nom by 1 MW",
+                    "Unit": "€/MW" },
                    {"Name": "efficiency",
-                    "Description": "...",
-                    "Unit": "..." }],
+                    "Description": "Ratio between primary energy and electrical energy",
+                    "Unit": "per unit" }],
 "Changes":[
                    {"Name": "Mario Kropshofer",
                     "Mail": "mario.kropshofer2@stud.fh-flensburg.de",
                     "Date":  "04.10.2016",
-                    "Comment": "..." }
+                    "Comment": "..." }, 
+                   {"Name": "Ilka Cussmann",
+                    "Mail": "ilka.cussmann@hs-flensburg.de",
+                    "Date":  "26.10.2016",
+                    "Comment": "completed json-string" }
                   ],
-"ToDo": ["Please complete"],
+"ToDo": ["add licence"],
 "Licence": ["..."],
 "Instructions for proper use": ["..."]
 }';

  OIDS=FALSE
);

CREATE TABLE calc_ego_hv_powerflow.generator_pq_set
(
  scn_name character varying NOT NULL DEFAULT 'Status Quo'::character varying,

  OIDS=FALSE
);

COMMENT ON TABLE  calc_ego_hv_powerflow.storage_pq_set IS
'{
"Name": "Storage time series hv powerflow",
"Source": [{
                  "Name": "open_eGo data-processing",
                  "URL":  "https://github.com/openego/data_processing" }],
"Reference date": "...",
"Date of collection": "...",
"Original file": "...",
"Spatial resolution": ["Germany"],
"Description": ["Times series for storage units considered in hv powerflow"],
"Column": [
                   {"Name": "scn_name",
                    "Description": "scenario name",
                    "Unit": "" },
                   {"Name": "storage_id",
                    "Description": "unique storage id",
                    "Unit": "" },
                   {"Name": "temp_id",
                    "Description": "id for temporal resolution",
                    "Unit": "" },
                   {"Name": "p_set",
                    "Description": "active power set point",
                    "Unit": "MW" },
                   {"Name": "q_set",
                    "Description": "reactive power set point",
                    "Unit": "MVar" }],
                   {"Name": "p_min_pu",
                    "Description": "If control=”variable” this gives the minimum output for each snapshot per unit of p_nom for the OPF",
                    "Unit": "per unit" },
                   {"Name": "p_max_pu",
                    "Description": "If control=”variable” this gives the maximum output for each snapshot per unit of p_nom for the OPF",
                    "Unit": "per unit" }],
                   {"Name": "soc_set",
                    "Description": "State of charge set points for snapshots in the OPF",
                    "Unit": "MWh" },
                   {"Name": "inflow",
                    "Description": "Inflow to the state of charge, e.g. due to river inflow in hydro reservoir",
                    "Unit": "MW" }],
"Changes":[
                   {"Name": "Mario Kropshofer",
                    "Mail": "mario.kropshofer2@stud.fh-flensburg.de",
                    "Date":  "04.10.2016",
                    "Comment": "..." }, 
                    "Name": "Ilka Cussmann",
                    "Mail": "ilka.cussmann@hs-flensburg.de",
                    "Date":  "26.10.2016",
                    "Comment": "completed json-string" }
                  ],
"ToDo": ["Add licence"],
"Licence": ["..."],
"Instructions for proper use": ["..."]
}';

-------------------------------------------------------------------
--------------------------- Grant rights --------------------------
