Skip to content

Commit

Permalink
Updated panels_data.py to match the new layout (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinayang15 authored Mar 16, 2024
1 parent 8f81757 commit 47ea607
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions scripts/panels_data/panels_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def create_panel_table(db_user, db_password, db_host, db_name):
Column("height", Float(), nullable=False),
Column("area", Float(), nullable=False),
)
panel_area = 0.0153
panel_area = 0.015333

# drop if exists
panel_table.drop(engine, checkfirst=True)
Expand Down Expand Up @@ -80,13 +80,13 @@ def create_panel_table(db_user, db_password, db_host, db_name):
},
{
"name": "Back Middle 1",
"stack": 3,
"stack": 6,
"efficiency": 0.25,
"num_panels": 12,
"num_panels": 8,
"tilt": -8.06,
"width": 0.25,
"height": 0.75,
"area": 12 * panel_area,
"height": 0.5,
"area": 8 * panel_area,
},
{
"name": "Back Left 2",
Expand Down Expand Up @@ -179,7 +179,17 @@ def create_panel_table(db_user, db_password, db_host, db_name):
"area": 21 * panel_area,
},
{
"name": "Front Middle",
"name": "Front Middle 1",
"stack": 6,
"efficiency": 0.25,
"num_panels": 5,
"tilt": 8.75,
"width": 0.125,
"height": 0.75,
"area": 5 * panel_area,
},
{
"name": "Front Middle 2",
"stack": 11,
"efficiency": 0.25,
"num_panels": 16,
Expand Down

0 comments on commit 47ea607

Please sign in to comment.