Alby’s Status Report for 4/20

Accomplishments This Week:

  • Added IO functionality to support multi-period specific testcases.
  • Built a residual visualizer to verify battery constraints met at each period.
  • Added validation function to test generation and load mismatch and calculate line losses.

Challenges Encountered:

  • Multi-period optimizer is converging slowly and showing incorrect behavior due to errors in the DDP process. These oscillations are preventing battery from behaving correctly when fully discharged, but correct behavior is observed during operation when partially charged.

Next Steps:

  • Investigate multi-period convergence across multiple epochs
  • Produce more example grid models to test the webapp

Individual Question:

Because my optimization code is incredibly complex, it became necessary to learn how to properly debug in python. I started using the PDB debugging tool and writing debug functions. One of the most useful debugging methods I learnt was assessing my intermediate results visually through plotting by asking chatgpt to write plotting functions.

Leave a Reply

Your email address will not be published. Required fields are marked *