This folder contains the following files:

- HPV_model.pdf: model description with all the coeffients
- hpv_compile.m: run this file to compile mex interface
- hpv.c & hpv_rhs.c: C files containing the mex function
- hpv.m: Matlab help file for the mex function (type 'help hpv')
- hpv_integrate.m: example where the mex interface is used for integration
- data_ss.mat: contains system data at steady state
   x: steady state
   u: input at steady state
   p: parameters at steady state (see 'help hpv')
   A: linearized dynamics - state matrix (see 'help hpv' for the order of the states)
   B: linearized dynamics - input matrix (see 'help hpv' for the order of the states)
- price.m: generates the vectors with electricity prices
- penalty.m: generates the values of gamma_k used in the power tracking scenario
- power_reference.m: generetaes the power reference (ATTENTION!!! the power is expressed in mega watt)

- xxx.m: don't use this

ATTENTION: the initial state for the simulation should be set to steady state.