vSPD_NMIR

This standalone version of vSPD has been developed by Tuong Nguyen at the Electricity Authority to assist with
the development of the national market for instantaneous reserves (NMIR). For more infomraiton about the NMIR
project, visit:
  - http://www.ea.govt.nz/development/work-programme/wholesale/national-instantaneous-reserves-market
  - https://www.systemoperator.co.nz/sites/default/files/bulk-upload/documents/NMIR%20Design%20Features.pdf

This test version of the model is to assist market participants in understanding how the national market for
instantaneous reserves is integrated into the current SPD model. A final version will be completed once the SO
confirms their SDP model has been tested successfully.

There are for input files for test purposes. They are located in vSPD_NMIR\Input folder:
FP.gdx : 	Final pricing test case.
NRS.gdx:	NRSS test case.
RTD:		Realtime dispatch test case.
RTP:		Realtime pricing test case.

1. In order to select which test case to run, the user needs to change the content of vSPD_NMIR\Programs\vSPDfilelist.inc
accordingly. For example:
 - in order to run the vSPD_NMIR model using the FP.gdx test case, edit the file called vSPDfilelist.inc as follows:
/
FP
/

 - in order to run the vSPD_NMIR model using the RTD.gdx test case, edit the file called vSPDfilelist.inc as follows:
/
RTD
/

2. The user also needs to change the following variables in vSPD_NMIR\Programs\vSPDSettings.inc 

$setglobal runName                       'NRS_NMIR'

Scalar UseShareReserve                   / 1 /    ;


3. There are several ways to run the model:
a) Double-click the vSPD_NMIR project file (..\vSPD_NMIR\Programs\vSPD_NMIR.gpr) to launch the GAMSIDE
   Open runvSPD.gms from the GAMSIDE
   Click on the 'Run Gams' button (or press F9)

b) Double-click the runvSPD.bat file and the model will run 

c) Invoke the runvSPD.bat file

After the mode has been run, results (in CSV format) will be found in vSPD_NMIR\Output\runName --> in this example, runName
is NRS_NMIR

If you have any questions about this test version of vSPD_NMIR, please contact tuong.nguyen@ea.govt.nz or emi@ea.govt.nz
