Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notebooks\ #7

Merged
merged 1 commit into from
May 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
293 changes: 0 additions & 293 deletions notebooks/illinois_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -79,299 +79,6 @@
"costs[\"marginal_cost\"] = costs[\"VOM\"] + costs[\"fuel\"] / costs[\"efficiency\"]"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th>parameter</th>\n",
" <th>C in fuel</th>\n",
" <th>C stored</th>\n",
" <th>CO2 intensity</th>\n",
" <th>CO2 stored</th>\n",
" <th>FOM</th>\n",
" <th>Motor size</th>\n",
" <th>VOM</th>\n",
" <th>ammonia-input</th>\n",
" <th>c_b</th>\n",
" <th>c_v</th>\n",
" <th>capacity</th>\n",
" <th>capture rate</th>\n",
" <th>capture_rate</th>\n",
" <th>carbondioxide-input</th>\n",
" <th>carbondioxide-output</th>\n",
" <th>commodity</th>\n",
" <th>compression-electricity-input</th>\n",
" <th>compression-heat-output</th>\n",
" <th>discount rate</th>\n",
" <th>district heat surcharge</th>\n",
" <th>district heat-input</th>\n",
" <th>efficiency</th>\n",
" <th>efficiency-biomass</th>\n",
" <th>efficiency-electricity</th>\n",
" <th>efficiency-heat</th>\n",
" <th>efficiency-hydrogen</th>\n",
" <th>efficiency-tot</th>\n",
" <th>electricity-input</th>\n",
" <th>fuel</th>\n",
" <th>hbi-input</th>\n",
" <th>heat-input</th>\n",
" <th>heat-output</th>\n",
" <th>hydrogen-input</th>\n",
" <th>investment</th>\n",
" <th>lifetime</th>\n",
" <th>lohc-input</th>\n",
" <th>methane-input</th>\n",
" <th>methanol-input</th>\n",
" <th>min_fill_level</th>\n",
" <th>naphtha-input</th>\n",
" <th>nitrogen-input</th>\n",
" <th>ore-input</th>\n",
" <th>p_nom_ratio</th>\n",
" <th>pelletizing cost</th>\n",
" <th>marginal_cost</th>\n",
" </tr>\n",
" <tr>\n",
" <th>technology</th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" <th></th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>nuclear</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.000</td>\n",
" <td>NaN</td>\n",
" <td>1.2700</td>\n",
" <td>NaN</td>\n",
" <td>3.5464</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.07</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.326</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>3.4122</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>8594135.4</td>\n",
" <td>40.0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>14.013271</td>\n",
" </tr>\n",
" <tr>\n",
" <th>OCGT</th>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.198</td>\n",
" <td>NaN</td>\n",
" <td>1.7795</td>\n",
" <td>NaN</td>\n",
" <td>4.7620</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.07</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>0.410</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>24.5680</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>460580.4</td>\n",
" <td>25.0</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>64.683951</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
"parameter C in fuel C stored CO2 intensity CO2 stored FOM \\\n",
"technology \n",
"nuclear NaN NaN 0.000 NaN 1.2700 \n",
"OCGT NaN NaN 0.198 NaN 1.7795 \n",
"\n",
"parameter Motor size VOM ammonia-input c_b c_v capacity \\\n",
"technology \n",
"nuclear NaN 3.5464 NaN NaN NaN NaN \n",
"OCGT NaN 4.7620 NaN NaN NaN NaN \n",
"\n",
"parameter capture rate capture_rate carbondioxide-input \\\n",
"technology \n",
"nuclear NaN NaN NaN \n",
"OCGT NaN NaN NaN \n",
"\n",
"parameter carbondioxide-output commodity compression-electricity-input \\\n",
"technology \n",
"nuclear NaN NaN NaN \n",
"OCGT NaN NaN NaN \n",
"\n",
"parameter compression-heat-output discount rate district heat surcharge \\\n",
"technology \n",
"nuclear NaN 0.07 NaN \n",
"OCGT NaN 0.07 NaN \n",
"\n",
"parameter district heat-input efficiency efficiency-biomass \\\n",
"technology \n",
"nuclear NaN 0.326 NaN \n",
"OCGT NaN 0.410 NaN \n",
"\n",
"parameter efficiency-electricity efficiency-heat efficiency-hydrogen \\\n",
"technology \n",
"nuclear NaN NaN NaN \n",
"OCGT NaN NaN NaN \n",
"\n",
"parameter efficiency-tot electricity-input fuel hbi-input heat-input \\\n",
"technology \n",
"nuclear NaN NaN 3.4122 NaN NaN \n",
"OCGT NaN NaN 24.5680 NaN NaN \n",
"\n",
"parameter heat-output hydrogen-input investment lifetime lohc-input \\\n",
"technology \n",
"nuclear NaN NaN 8594135.4 40.0 NaN \n",
"OCGT NaN NaN 460580.4 25.0 NaN \n",
"\n",
"parameter methane-input methanol-input min_fill_level naphtha-input \\\n",
"technology \n",
"nuclear NaN NaN NaN NaN \n",
"OCGT NaN NaN NaN NaN \n",
"\n",
"parameter nitrogen-input ore-input p_nom_ratio pelletizing cost \\\n",
"technology \n",
"nuclear NaN NaN NaN NaN \n",
"OCGT NaN NaN NaN NaN \n",
"\n",
"parameter marginal_cost \n",
"technology \n",
"nuclear 14.013271 \n",
"OCGT 64.683951 "
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"costs.loc[['nuclear', 'OCGT'],:]"
]
},
{
"cell_type": "code",
"execution_count": 7,
Expand Down