The purpose of this exercise is to initialize the simulator. This means initilize the state and potentially also some parameters not known exactly a priori.
Step 1: Download the following Matlab functions:
Also get the updated version of
Step 2: Your job today is made easy, all you have to do is successfully compute a stable initial state. Do this by
- open up NetworkSimRun and read the comments to get acquainted with the code
- first attempt: try computing initial state using decic alone
- second attempt: try computing initial state using both load flow and decic
Questions to answer:
- Were residuals equal to zero for the decic method?
- Were residuals equal to zero for the load flow method?
- Did both methods compute a stable initial state?
- What are the differences between the inputs to the decic and load flow methods?