Use this to determine the upper bound for certain variables while running Aurora in step mode. This command is useful for making changes to inputs during an Aurora run subject to this evaluation. Note that this refers to a zero-based array, which means that for items that are enumerated this will return a value equal to the count minus one. For example, VarSimCount.ResourcesExisting equals VarSimUB.Resources + 1.
Typically, VarSimUB variables should be accessed individually. For example, Dim NumAreas As Integer = AC.VarSimUB.Areas. Less commonly, a struct variable containing all VarSimUB variables can be dimensioned as follows: Dim UBStruct As AURORAServer.StructuresModule.strucSimUpperBound = AC.VarSimUB.
The following commands can be used with VarSimUB:
Areas
Returns the upper bound of area numbers in the Areas table being used in the run. This is independent of the system being run. Note that since this is zero-based, the upper bound will be one less than the highest area number if area numbers start off with one.
Conditions
Returns the upper bound of condition numbers in the Conditions table being used in the run.
DailyChange
Returns the upper bound of the number of records being used in the Daily Change table for the model run.
DailyChangeDays
Returns the upper bound of the number of days (columns) in the Daily Change table for the model run.
Emissions
Returns the upper bound of type numbers in the Emission Types table being used in the run.
Fuels
Returns the upper bound of the number of fuels in the Fuel table being used in the run.
Hubs
Returns the upper bound of hub numbers in the Hubs table being used in the run.
HydroSets
Returns the upper bound of hydro areas in the Hydro Monthly table being used in the run.
Links
Returns the upper bound of paths in the Link table being used in the run.
PortfolioInfo
Returns the upper bound of the number of portfolios being used in the current run.
PortfolioResource
Returns the upper bound of the number of resources in the Portfolio Resources table. Note that this refers to the number of entries (rows) in the table, not necessarily unique resources if the user has the same resource in several different portfolios.
PortfolioContract
Returns the upper bound of the number of contracts in the Portfolio Contracts table. Note that this refers to the number of entries (or rows) in the table and not necessarily unique contracts.
ResourceGroups
Returns the upper bound of resource group numbers in the Resource Groups table being used in the run.
Resources
Returns the upper bound of resource numbers in the Resources table being used in the run.
ResourcesPostUBB
Returns the upper bound of the number of resources in the areas being modeled after applying upper bidding block segments. For instance, if four units have an upper bidding block segment, then this number will be four more than the ResourcesPreUBB.
ResourcesPreUBB
Returns the upper bound of the number of resources in the areas being modeled before considering upper bidding block segments.
RiskRecords
Returns the upper bound of the order number field in the Risk table being used in the run.
Risk Iterations
Returns the upper bound of the number of risk iterations for the current run.
Storage
Returns the upper bound of the number of storage units being modeled.
Units
Returns the upper bound of the number of unit conversions in the Units Conversion table.
Zones
Returns the upper bound of the number of areas in the system being used in the model run. Note that this includes areas that are not actually used (e.g., the WECC in an ERCOT system run).
Scripting
VarSimUB
For further assistance, please contact Aurora Support.
Copyright© 1997-2024 Energy Exemplar LLC. All rights reserved.