Update Install for branch h3k_switch to the version which is working for tester script.
Remove whitespace in h3k-output names for air flow network. This will likely lead to failed results in tester.pl, however is necessary to avoid name shortening due to whitespace check in *wild?() functions.

Compile and run on OS X O.K.
Remove whitespace in h3k-output names for air flow network. This leads to failed results in tester.pl, however is necessary to avoid name shortening due to whitespace check in *wild?() functions.

Compile and run on OS X O.K.

Tested with "window_control" tester model via tester.pl. Test fails, however, diff between SL5_reference.csv and SL5_test.csv gives differences in header line, only!
Merge branch 'h3k_switch' of https://github.com/ESP-rCommunity/ESP-rSource into h3k_switch

* 'h3k_switch' of https://github.com/ESP-rCommunity/ESP-rSource:
  Remove whitespace in h3k-output names for air flow network. This will likely lead to failed results in tester.pl, however is necessary to avoid name shortening due to whitespace check in *wild?() functions.
In h3k output of electrical nets and "ideal_havac_models" the changes in this branch have some side-effects.

In electrical nets <sometimes> the node numbers are written with four digits. In plant output, strange string-concatenations occur. Both these side-effects of course lead to failed tester results.

Work in progress.
Identified and removed problem with h3k report names. The problem arose when length of passed strings was fully used. The original logic did not take this into account. Should work now.

Compile and run on OS X O.K.

Test with "idealized_hvac" test cases passes.
Fix bug when not compiling with xml support.

Compile on Cygwin O.K.
This commit corrects errors in the Install script that prevent the successful
building of the full system.  These changes were made by Joe Clarke.

No changes to source code.  A full build was successfully performed on Win 7/Cygwin.
Added bFirst_call_erv boolean variable to flag first call to ERV model.
This allows creation of new reporting variable to hold and eventually report the electricity consumption of the ERV.
Added bFirst_call_erv boolean variable to flag first call to ERV model.
This allows creation of new reporting variable to hold and eventually report the electricity consumption of the ERV.
Added ERV model: routines ERVInit() and ERVOperation() in CentralVentSys.F
Made change to existing CVS models
- Subroutine MECH_VENT_CONTROL() now has three outputs
	+ ZONE_mechvent_cond, the equivalent UA value for ventilation sensible load
	+ ZONE_mechvent_moistFlow, the equivalent flow of ambiant air resulting in the same moisture flow as transported by the supply airstream
	+ ZONE_mechvent_airFlow, the ventilation airflow
- Made changes to MZVENT() in subsys.F so that:
	+ ZMBI(ICOMP,1) corresponds to a flow of ambiant air carrying the same moisture into the zone as the ventilation supply airstream
	+ and ZMBI(ICOMP,4) corresponds to the flow of dry air out of the zone
- Changed the logic behind the temperature control of CVS: CVS now OFF when ambient temperature between T_low and T_high
- Moved zone fractions calculations to the initialisation of the CVS
- Switched exhaust air conditions calculations from the conditions of AIM2_ref_zone to a zone volume average: routine ZONEAVG(Flag)
- Grouped initialisation actions common to all CVS systems into a CVSCommonInitialisation() routine to facilitate future changes

For details of these changes, their justification, and the testing (including the ESP-r Tester), see report:
	Pinel P., Development of an ERV model for ESP-r, Submitted to NRCan, 2014
Merge branch 'patrice_ERVModel' of https://github.com/ESP-rCommunity/ESP-rSource into patrice_ERVModel
Added tester cases for mechanical ventilation model.
These cases use the CCHT house model used in the AIM2 test suite
An idealised moisture control maintaining the zones at 50% relative humidity was added.
The added cases are:
- CVS_None: No CVS
- CVS_Fan: Central ventilation fans
- HRV: Heat recovery ventilator
- ERV: Energy recovery ventilator
This commit merges the branch 'h3k_switch' into 'master' to incorporate
the following changes from Achim Geissler:
- This adds logic to allow for flexible output of "zone_xx" vs <<zone_name>>
  in out.csv.
- Activation of this functionality is via xml tags in input.xml:
  <use_zonenames>false</use_zonenames>
  <use_surfacenames>false</use_surfacenames>

Note that the changes to Install from 'h3k_switch' were not incorporated.

Testing:
- create out.dictionary with switches on and off; resulting files as expected.
- create simulation results with switches on and off; results as expected.
- run tester.pl, O.K. except models with air flow network due to change
  in string construction.  This result is expected.
- samples of failing tester model results compared, differences in variable
  names, only, found.
- Compile, run and all tests O.K. (all on OS X).
- Compiled on Win7 / Cygwin with GCC 4.5.3.
Merge pull request #4 from ESP-rCommunity/patrice_ERVModel

Added ERV model and modified existing CVS models.

Changes include addition of an ERV model, modifications to other CVS models, and modifications in the data passed to the zone balance routines.  Tester cases for mechanical ventilation systems were also added. See individual commits for details of changes.  See"Development of an ERV model for ESP-r" NRCan report (Sept 2014) for further details.
- Changes in models folder associated with graphic network. This
  is with current focus on master.
- Changes in databases to reflect new graphic network facilities.
Repointing ESPrSouce to a published commit in the models directory?
Repointing ESPrSource to a published commit in the data directory (hope Alex' instructions works for me, also)
Adds new flow component based on type 10 (power law), extended with  a "max flow" value and the possibility to close the connection at the set point "max flow".

This commit to make available, tests will follow.

Compile and run on OS X O.K.