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

  1. open up NetworkSimRun and read the comments to get acquainted with the code
  2. first attempt: try computing initial state using decic alone
  3. second attempt: try computing initial state using both load flow and decic

Questions to answer:

  1. Were residuals equal to zero for the decic method?
  2. Were residuals equal to zero for the load flow method?
  3. Did both methods compute a stable initial state?
  4. What are the differences between the inputs to the decic and load flow methods?