fix minor bugs

- plots did not recognize missing data
- performance model did not calculate todays value if there was no
todays data
work on #1092

Introduce namespaces for configuration and parameter.