- Deprecated methods in EasClient:
- aclose
- get_work_package_cost_estimation
- run_hosting_capacity_work_package
- cancel_hosting_capacity_work_package
- get_hosting_capacity_work_packages_progress
- run_feeder_load_analysis_report
- get_feeder_load_analysis_report_status
- upload_study
- run_ingestor
- get_ingestor_run
- get_ingestor_run_list
- run_hosting_capacity_calibration
- get_hosting_capacity_calibration_run
- get_hosting_capacity_calibration_sets
- get_transformer_tap_settings
- run_opendss_export
- get_paged_opendss_models
- get_opendss_model
- Most Input object will need to be migrated over to the new data model
- None.
- EasClient has new
queryandmutationmethods that will acceptQueryandMutationobjects respectively.- Available queries and mutations can be found as
@classmethodsonQueriesandMutations.
- Available queries and mutations can be found as
- Patched ariadne-codegen while waiting for release of dependent code.
- None.
- Removed token fetcher, client id/secret, and username/password auth from EasClient. You must now use access token for auth, generated from the UI.
- Moved all imports to the top level - you can now reconfigure all imports to be
from zepben.eas import .... Existing imports usingfrom zepben.eas.client import ...will no longer work.
- None.
- None.
- None.
- None.
- For
CandidateGenerationConfig, replacedvoltage_delta_avg_thresholdwithaverage_voltage_spread_threshold, which serves the same purpose but is in volts instead of voltage per-unit.- EAS must support this change in the GraphQL schema (
v2.10.0and above).
- EAS must support this change in the GraphQL schema (
- Added function
get_feeder_load_analysis_report_statusto request feeder load analysis report status to eas client.
- None.
- Fixed bug where geographical regions were not getting passed in the feeder load analysis input.
- None.
- Bumping
urllib3tov2.5.0, and pulling inzepben.authvia the SDK. - EAS must support unspecified
allocationLimitPerYearandyearRangein the intervention config.
- None.
- To reduce confusion when running certain classes of intervention, the following fields are no longe required in
InterventionConfig, and are defaulted to sensible values server-side:yearRangeallocation_limit_per_year
- None.
- None.
- None.
- Added
fla_forecast_configtoFeederLoadAnalysisInputwhich holds the config for forecast portion of feeder-load-analysis studies.scenario_id: The id of forecast scenarioyear: The year for forecast modelpv_upgrade_threshold: Watts threshold to indicate if a customer site will gain additional pv during scenario application (Default to 5000).bess_upgrade_threshold: Watts threshold to indicate if a customer site will gain additional battery during scenario application (Default to 5000).seed: Seed for scenario application (Default to 123).
- None.
- The
generationSpecproperty returned by theget_paged_opendss_modelsfunctions in the EAS client is now a string instead of an object.
- None.
- The
generationSpecproperty returned by theget_paged_opendss_modelsfunctions in the EAS client is now a string instead of an object.
- The
beforeCutOffProfileandafterCutOffProfilefields inPVVoltVARVoltWattConfighave been renamed to snake case and are nowbefore_cut_off_profileandafter_cut_off_profilerespectively.
- None.
- None.
- None.
- None.
- None.
- Added optional field
inverterControlConfigtoModelConfig. ThisPVVoltVARVoltWattConfigallows the configuration of advanced inverter control profiles.
- None.
TimePeriodno longer truncates thestart_timeandend_timeto midnight(00:00:00).TimePeriodwill now preserve arbitrary start and end times to minute precision.
- None.
- Renamed the parameter
calibration_idtocalibration_namefor the following methodsget_transformer_tap_settingsandasync_get_transformer_tap_settings. This better reflects that this parameter is the user supplied calibration name rather than EAS's internal calibration run ID.
- Added optional fields to
ModelConfigto control network simplification:simplify_network,collapse_negligible_impedances, andcombine_common_impedances. - Added optional
node_level_resultsfield toGeneratorConfig. ThisNodeLevelResultsConfigallows the configuration of node level power flow results from OpenDss. - Introduce
span_level_thresholdandsimplify_plsiintowork_packageso it can be passed through for hosting capacity studies. - Introduce new variables into
work_packageso it can be passed through for hosting capacity studies.use_span_level_thresholdrating_thresholdsimplify_plsi_thresholdemerg_amp_scaling
- Added optional field
inverterControlConfigtoModelConfig. ThisPVVoltVARVoltWattConfigallows the configuration of advanced inverter control profiles.
- None.
TimePeriodno longer truncates thestart_timeandend_timeto midnight(00:00:00).TimePeriodwill now preserve arbitrary start and end times to minute precision.
- None.
- None.
- Added basic client method
run_ingestorto run ingestors via EAS'sexecuteIngestorgraphql mutation. - Added basic client methods
get_ingestor_runandget_ingestor_run_listto retrieve the records of previous ingestor runs.
- Added optional
generator_configargument torun_hosting_capacity_calibration. This allows the user to override the default values in theWorkPackageConfigused by calibration. Note: The following fields cannot be overridden during calibration: GeneratorConfig.model.calibration, GeneratorConfig.model.meter_placement_config, GeneratorConfig.solve.step_size_minutes, and GeneratorConfig.raw_results. - Added optional
transformer_tap_settingsargument torun_hosting_capacity_calibration. This is the equivalent to supplying agenerator_configwithgenerator_config.model.transformer_tap_settingsset. Iftransformer_tap_settingsis supplied, it will take precedence over anytransformer_tap_settingsconfigured in thegenerator_config.
- None.
- None.
- Added
EasClient.get_transformer_tap_settingsfor retrieving tap settings for a calibration run.
run_hosting_capacity_calibrationnow takes adatetimeobject rather than a string.
- None
- None.
- Errors from
EasClientcalls are now raised as aClientResponseErrorexception on a failure.
- None.
FixedTimeLoadOverridenow takes in optional list of floats instead of optional float for its variable.
- Modification to
ModelConfigto allow more customization for model generation- Added support for separate
vMinPuandvMaxPuwith load and generators. - Added support for
ctPrimScalingFactorwhich is required when calculating newctPrimvalue when feeder proxy loads are not in use.
- Added support for separate
- Supports passing a list of feeders to
run_hosting_capacity_calibrationto perform calibration on a subset of the network.
- None.
- None.
FixedTimeLoadOverridenow takes in optional list of floats instead of optional float for its variable.
- Added
FeederLoadAnalysisInputwhich holds the config for feeder-load-analysis studies.- These then can be utilized in the
run_feeder_load_analysis_reportandasync_run_feeder_load_analysis_reportfunctions
- These then can be utilized in the
- None.
- None.
- None.
- Added
load_overridesto bothFixedTimeandTimePeriodwhich consist of a list ofFixedTimeLoadOverrideandTimePeriodLoadOverride WorkPackageConfighas some of its variables moved into the new classesForecastConfigandFeederConfig.- Moved
feeders,years,scenariosandload_time. WorkPackageConfignow has a new variablesyf_configconsist of a Union ofForecastConfig, and list ofFeederConfig.- This is to support feeder specific load override events
- Moved
- Update
ModelConfigto contain an optionaltransformer_tap_settingsfield to specify a set of distribution transformer tap settings to be applied by the model-processor. - Added basic client method to run a hosting capacity calibration and method to query its status.
- Added basic client method to run a hosting capacity work package cost estimation.
- Added
FixedTimeLoadOverrideandTimePeriodLoadOverrideclass - Added basic client method to run a opendss export, query its information and get a download url for the exported model.
- Added work package config documentation.
- Fix inconsistency between GQL and python load override assignment.
- None.
- None.
- Update
ModelConfigto contain four optional list of values which makes up the default load profile for hosting capacity model generation.default_load_wattsNote: expects same size list of values asdefault_load_vardefault_gen_wattsNote: expects same size list of values asdefault_gen_vardefault_load_vardefault_gen_var
- None.
- None.
- None.
- Updated
WorkPackageConfigconstructor to reorder the parameters and no longer provide a default value forname. Anamemust now be provided by the user.
- Support specifying a
seedinModelConfigto allow reproducible scenarios - Support for using access tokens for authentication that takes advantage of the new EAS personal access token authentication system. You can now pass an access_token to
EasClientwhich is an EAS provisioned JWT.
- Update requests restrictions to support all version 2 minor versions.
- Removed check that prevented passing a
client_secretfor "password" grant_type.
- Update to released version of zepben.auth (0.12.1) to support up to requests v3.0.0.
- None.
- Updated work package data classes to account for latest changes to hosting capacity work package configuration.
- Updated the WorkPackageConfig to include ResultsConfig
- The ModelConfig in a WorkPackageConfig is not optional anymore
- The ModelConfig now includes load time information
- The ModelConfig now includes a flag to signal the model is a calibration model
- Added basic client method to run hosting capacity work packages
- Added basic client method to cancel hosting capacity work packages
- Added basic client method to request hosting capacity work packages progress
- Added options to WorkPackageaConfig for:
- Configuring load/export power factor.
- Configuring running of NetworkFixer steps
- Added 'collapse_lv_networks' field to ModelConfig
- Added 'feeder_scenario_allocation_strategy' field to ModelConfig
- Added 'include_energy_consumer_meter_group' field to ModelConfig
- Added support for specifying a work package name in the
WorkPackageConfig. - Now support auth with Entra ID, including Azure managed identities
- None.
- None.
- None.