io, examples: fix to work with time-dependent variable booleans
io, examples: fix to work with time-dependent variable booleans

This is the final working version still using booleans for the
time-varying inputs.

PyPSA/PyPSA