Skip to content

Commit 81d05d5

Browse files
committed
add find_islands as separate example
1 parent 46b0f27 commit 81d05d5

3 files changed

Lines changed: 1643 additions & 9 deletions

File tree

notebooks/derate_line.ipynb

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,16 +605,35 @@
605605
"execution_count": null,
606606
"id": "fd7f171c",
607607
"metadata": {},
608-
"outputs": [],
608+
"outputs": [
609+
{
610+
"name": "stdout",
611+
"output_type": "stream",
612+
"text": [
613+
" F_BUS T_BUS RATE_A t_ambient t_max t_ref\n",
614+
"branch \n",
615+
"2 4 5 250 40.0 90.0 30.0\n",
616+
"3 5 6 150 55.0 60.0 30.0\n",
617+
"5 6 7 150 45.0 75.0 30.0\n",
618+
"6 7 8 250 50.0 90.0 30.0\n",
619+
"8 8 9 250 50.0 60.0 30.0\n",
620+
"9 9 4 250 38.0 90.0 30.0\n"
621+
]
622+
}
623+
],
609624
"source": [
610625
"branch_temp = pd.DataFrame(\n",
611626
" {\n",
627+
" \"F_BUS\": cf.branch.loc[lines_index, \"F_BUS\"],\n",
628+
" \"T_BUS\": cf.branch.loc[lines_index, \"T_BUS\"],\n",
629+
" \"RATE_A\": cf.branch.loc[lines_index, \"RATE_A\"],\n",
612630
" \"t_ambient\": [40.0, 55.0, 45.0, 50.0, 50.0, 38.0],\n",
613631
" \"t_max\": [90.0, 60.0, 75.0, 90.0, 60.0, 90.0],\n",
614632
" \"t_ref\": [30.0, 30.0, 30.0, 30.0, 30.0, 30.0],\n",
615633
" },\n",
616634
" index=lines_index,\n",
617-
")"
635+
")\n",
636+
"print(branch_temp)"
618637
]
619638
},
620639
{

0 commit comments

Comments
 (0)