22 #ifndef NANDRAD_SchedulesH 23 #define NANDRAD_SchedulesH 30 #include "NANDRAD_Schedule.h" 31 #include "NANDRAD_CodeGenMacros.h" 75 void checkParameters(
const std::map<std::string, IBK::Path> &placeholders);
87 IBK::LinearSpline & spline,
93 static bool equalSchedules(
const std::vector<Schedule> & first,
const std::vector<Schedule> & second);
123 #endif // NANDRAD_SchedulesH void generateLinearSpline(const std::string &objectListName, const std::string ¶meterName, IBK::LinearSpline &spline, DailyCycle::interpolation_t &interpolationType) const
This function does all the work in the actual schedule-by-daily-cycle implementation.
std::map< std::string, std::vector< Schedule > > m_scheduleGroups
Key is object list name, value is vector of schedules.
std::set< day_t > m_weekEndDays
Weekend days.
std::map< std::string, std::vector< NANDRAD::LinearSplineParameter > > m_annualSchedules
Key is object list name, value is vector of LinearSplineParameter.
Schedules define purely time-dependent properties.
static bool equalSchedules(const std::vector< Schedule > &first, const std::vector< Schedule > &second)
Compares two schedule groups by schedule content, hereby ignoring the name of the schedule group...
If enabled, schedules are treated as annually repeating schedules.
IBK::Flag m_flags[NUM_F]
List of flags.
std::set< unsigned int > m_holidays
List of holiday days, stored in "day of the year", not including leap days.
day_t m_firstDayOfYear
The daytype of January 1st (offset of day of the week (0-Mon, ...6-Sun)) of the start year...
interpolation_t
Interpolation method for daily cycle data.
The namespace NANDRAD contains the data model classes that make up the NANDRAD solver input data...
NANDRAD_READWRITE void checkParameters(const std::map< std::string, IBK::Path > &placeholders)
Checks given parameters and initializes all linear splines given as tsv-files.
day_t
Day ids, also used to define "a weekend definition".
flag_t
Flags controlling schedule evaluation.
void initDefaults()
Init default values (called before readXML()).