Skip to content

Commit

Permalink
Add a clarification in demo manipulate_params
Browse files Browse the repository at this point in the history
  • Loading branch information
jinningwang committed Nov 19, 2024
1 parent b9b76cd commit 65991db
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions examples/demonstration/manipulate_params.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Generating code for 1 models on 4 processes.\n"
]
}
],
"source": [
"ss = andes.load(andes.get_case('5bus/pjm5bus.xlsx'), setup=True)"
]
Expand Down Expand Up @@ -135,6 +143,14 @@
"ss.GENCLS.M.property"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"> Note: in ANDES, `StaticGen` inlcudeing both `PV` and `Slack`, they do have parameter `Sn`.\n",
"> However, parameters `p0`, `q0`, `pmax`, `pmin`, `qmax`, and `qmin` are under **system base**."
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -270,7 +286,7 @@
{
"data": {
"text/plain": [
"1.0"
"np.float64(1.0)"
]
},
"execution_count": 7,
Expand Down Expand Up @@ -298,7 +314,7 @@
{
"data": {
"text/plain": [
"3.0"
"np.float64(3.0)"
]
},
"execution_count": 8,
Expand Down Expand Up @@ -326,7 +342,7 @@
{
"data": {
"text/plain": [
"1.0"
"np.float64(1.0)"
]
},
"execution_count": 9,
Expand Down Expand Up @@ -354,7 +370,7 @@
{
"data": {
"text/plain": [
"0.3333333333333333"
"np.float64(0.3333333333333333)"
]
},
"execution_count": 10,
Expand Down

0 comments on commit 65991db

Please sign in to comment.