From 017df847eda295760a75407d902c6e48454062fc Mon Sep 17 00:00:00 2001 From: Caleb Date: Fri, 24 Jan 2025 06:27:39 -0500 Subject: [PATCH] WIP API and bindings unit testing; cleaning up; docs, csv support #204, #162, #163, #184, #180, #165, #31 --- src/solver/consts.h | 9 +++++++++ src/solver/table.c | 5 ----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/solver/consts.h b/src/solver/consts.h index 86a74566..1efa2d5c 100644 --- a/src/solver/consts.h +++ b/src/solver/consts.h @@ -160,6 +160,15 @@ * \brief Maximum number of hotstart files */ #define MAXHOTSTARTFILES 10 // largest file size in bytes + + +/*! +* \def MAXTIMESERIESCACHESIZE +* \brief Maximum number of time series rows that can be cached to memory to speed up simulation +* \TODO Allow users to set this value in the input file and GUI +*/ +#define MAXTIMESERIESCACHESIZE = 10 // maximum number of time series that can be cached + /*! * \} */ diff --git a/src/solver/table.c b/src/solver/table.c index 557d5521..050dbd9a 100644 --- a/src/solver/table.c +++ b/src/solver/table.c @@ -303,11 +303,6 @@ int table_validate(TTable *table) if ( table->file.file == NULL ) return ERR_TABLE_FILE_OPEN; } - if (strcomp("CVG", table->ID)) - { - printf("Test"); - } - // --- retrieve the first data entry in the table result = table_getFirstEntry(table, &x1, &y1);