Project structure of: YuPan4188/jubilant-adventure
jubilant-adventure
Energy and finance optimization tools
auto_question_device_params.py
Auto-question device parameters importer, prompter, logger.
celery_client_test.py
Test Celery client using requests, checks task status and prints results.
celery_fastapi_test.py
Celery-managed FastAPI app for task status updates
celery_test.py
Celery app, Redis lock, Pydantic models, concurrency concerns.
check_non_convex_quadratic_constraint_in_model.py
Check non-convex quadratic constraint in model.
cloudpss_config2.py
Pandas DataFrame creator for JSON device parameters.
cloudpss_config_curl_get.py
Cloud-based electrical device simulation using Python and JSON
cloudpss_download_component_ports.py
Download component ports URL generator
- Extracts component ports data from XML.
cloudpss_jinja_code_generator.py
Jinja template generator with unit conversion and data handling
cloudpss_model_revised.py
Pyomo PV device model with PyDantic and environmental settings
cloudpss_model_template.py.j2
Power system simulation model template
cloudpss_port_get.sh
GET request to CloudPSS editor component with headers, cookies, and CORS.
cloudpss_sdk_demo.py
Design and implement Algo services APIs with CloudPSS SDK.
cloudpss_unit_conversions_test.py
Pint-powered unit conversions and compatibility tests.
cloudpss_unit_create_convert_compatible.py
Python code uses pint library for unit conversion and compatible unit detection.
cmd_startup.cmd
Autorun script points to D:\project\jubilant-adventure\startup.cmd
cmd_startup.reg
Startup.cmd runs on system startup.
commit.py
Calculates MD5 checksums, modifies sys.excepthook, counts modifications for Git commits on Windows and Unix systems.
config.py
Configures simulation parameters and debug settings.
create_shim_for_ipopt.ps1
Create shim file for IPOPT, copy pandoc.exe to ipopt.exe.
create_shim_for_nodejs.ps1
Create shims for Node.js in specified directory with npx.
create_shim_for_shot.ps1
Create shim for shot and copy pandoc
curl_component_get.py
Jinja2 templates, IDs, access paths, JSON rendering.
curl_optim_component_get.sh.j2
CURL optimized component retrieval script
curl_simu_component_get.sh.j2
curl script to fetch component data using API endpoint
data_visualize_utils.py
Data visualization module with matplotlib, binary focus.
demo_utils.py
Energy system setup, constraint registration, device initialization with debugging options using NumPy for hourly load data.
docplex_test.py
Docplex MIP model creation for solving problems.
draw_sankey_diagram.py
PyECharts Sankey diagram creator with two depth levels, savable as "sankey.png".
dump_pydantic_to_json.py
Dump Pydantic object to JSON.
example.py
CPLEX-based problem optimization with print results.
example_docstring.py
Dog class, global vars, function, pdoc notes, var setting, finished.
export_pdf_word_pdoc.ps1
Script generates PDF docs, UTF-16, saves as MD.
fastapi_celery_client_test.py
FastAPI Celery client for task cancellation testing.
fastapi_celery_server.py
FastAPI Celery server, energy flow graph calculation.
fastapi_client_generated_test.py
FastAPI client, POST requests, subprocess execution.
fastapi_client_generator.py
FastAPI client generator from JSON file
fastapi_client_test.py
Send POST request to FastAPI server, print response and status code.
fastapi_datamodel_template.py
Curves, microgrid, simulation models with graphs and tasks.
fastapi_generate_nodejs_client_typescript.cmd
Generate TypeScript client for FastAPI server using openapi-typescript-codegen
fastapi_server_template.py
IES system simulation & optimization service with FastAPI & Celery.
fastapi_server_with_doc.py
FastAPI server, user/item CRUD, error for "foo", OpenAPI schema.
generate_call_graph.cmd
Generates call graph of Python files using pyan3 tool.
generate_document.cmd
Python doc generation and archiving tool
get_class_name.py
Class A initializes, asserts property value, prints name, updates dict with 'someProperty'.
get_requirements.cmd
Concatenate Python files, list unique imports.
host_document.cmd
Hosting Python docs on localhost:8021
install_gsudo.ps1
gsudo installer, secure, prompt restart
jinja_test.j2
Jinja2 loop, macros, variables.
linearization_config.py
Imports NumPy, defines variable bounds and sample sizes.
matlab_code
microgrid_base
Microgrid tools & control optimization base
__init__.py
Microgrid base module imports.
adaptive_sampling
Microgrid-based adaptive sampling.
arbitrary_topology_generation.py
Randomly generates microgrid topology using NetworkX and Barabasi-Albert model
celery_test.py
Test Celery script for microgrid base. Loads, modifies JSON, sends POST requests. Interacts with EnergyFlowGraph objects.
chatgpt_convert_latex_to_python
Converts Latex to Python/HTML with Markdown support.
code_checker.py
Automated Python code checker for microgrid base.
conda_init.sh
Removes packages, installs Python 3.11.2 in cplex conda env.
config.py
Imports modules, retrieves IESEnv data instance.
config_dataclasses.py
IES algorithm configurations and Docker processes classes.
conflict_utils.py
Conflict resolution for optimization models using CPLEX.
constants.py
Configure solver options and CLI commands for microgrid optimization.
cplex_abnormal_exit_condition_debug
Analyzing and resolving CPLEX microgrid irregularities
alternative_solver.py
Alternative solver initializes model, adds constraints, defines objective, handles options & exceptions.
arithmatic_prolog.pro
Code defines two solve functions, constraint programming.
associativity_attr_model.py
Pyomo model defines variables, constraints, writes to file, and prints solution symbols.
cbc_persistent.py
Microgrid CyClpSimplex optimization class
chatgpt_typesys_bat_smiple.pro
Code defines devices, rules for use, and adder presence predicate.
chatgpt_typesys_examaple.pro
Devices, ports, rules, wind speed, predicates.
check_invalid_var_and_constraints.py
Debugging CPLEX abnormal exits in microgrid Pyomo model.
check_unbounded_model.py
Identifies abnormal CPLEX exit conditions in linear programming.
check_unbounded_model_import_external.py
Imports modules, defines model, solves problem, checks unbounded or infeasible.
conjugate_load_combinations_reduce.py
Generates and stores conjugate load combinations.
coptampl_test.py
Pyomo, COptAMPL, mathematical model, solver, results
cplex_persistent.py
Solves optimized model, prints status and solution.
dill_pickle_model.py
Dill Pickle serializes Pyomo model
docplex_conflict_refiner.py
Debugs CPLEX process conflicts and errors.
docplex_feasopt.cmd
Live stream Dash optimization script execution, unbuffered.
docplex_feasopt.py
Docplex: Feasopt for Docplex constraint optimization.
get_feasopt_sol.cmd
Command-line script to run CPLEX with feasopt solver.
get_iis_cplex.cmd
Reads CPLEX conflict info from "conflict" file.
highspy_solve.py
Highs solver, MPS file, optimization, model status
init.sh
Moves temporary files for further use/analysis.
ipopt_persistent.py
Imports IPOPT library for optimization solving.
load_feasopt_sol.py
Extraction, storage, JSON, and print of feasopt.sol data.
logical_constraint_demo.py
Pyomo model with 4 int vars, disjuncts for units 1 & 2, solves with CPLEX/IPOPT
lp_to_mps.py
Python script converts model to MPS or LP format using Pyomo, CPLEX
mps_analyze.cmd
Troubleshooting incompatible .mps file.
or_tools_cp_sat.py
Solves CP problem, prints status & objective
or_tools_load_custom_model.py
Custom model import, solve, and debug.
or_tools_solver.py
Worker-task optimization with OR-Tools.
override_method_by_copy.py
Code demonstrates function overriding through copying.
parse_scip_solution.py
Parses and prints solution from XML files.
print_all_transformation_documentation.py
Transformation class documentation printer
prolog_gen.pro
Microgrid system control code with port status predicates.
prolog_gen.pro.j2
Microgrid simulation templating language
prolog_gen.py
Generates Prolog code with Jinja templates for energy system verification.
prolog_typesys_dynamic_verification.py
Prolog-based dynamic verification with exception handling.
python_mip_conflict.py
Debugging Python MIP conflict with filters.
read_lp_and_solve_copt.cmd
Read MPS, feasibility, optimize, exit.
README.md
Debug CPLEX abnormal exit condition devices.
resolve_task_dependency.py
Optimally resolves task dependencies.
rewrite_prolog_as_python.py
Generate energy combinations, check adders, validate I/O, visualize results.
run_docplex.cmd
Run Python script with Conda, no output capture.
sample_prolog.pro
Debugging sample code for microgrid Prolog.
scip_get_relaxed_sol.cmd
Solves MPS constraints, finds 1 solution, writes relaxed.
scip_persistent.py
PySCIPOpt integer programming framework for SCIP solver.
solve_as_simplex.py
Solves MILP with CPLEX, clones, compares, records.
solve_miniature_ies_system.py
Miniature IES system solving, abnormal exit condition debugging.
task_queue.py
Python script uses RedisHuey for Celery-like task queue with retries and timeouts.
task_queue_test.py
Debugging microgrid CPLEX abnormal exit conditions with task queue testing.
task_queue_worker.cmd
Run Huey consumer for task processing in Python.
test_arithmatic_prolog.py
Test script for solvable arithmetic problems using Prolog.
test_iterative_query.pro
Dog facts: pet, animal, cute.
test_iterative_query_prolog.py
Iterative query Prolog database asynchronously, print results.
test_method_registry.py
MethodRegistry class for managing methods in a decorator registry
test_prolog.pro
Test Prolog code with CLP(FD) for device compatibility.
test_prolog_advanced.pro
Test advanced dictionary operations with key-value pairs and common tag values.
test_stepwise.py
Debugging CPLEX abnormal exit in stepwise model.
transform_tests.py
Pyomo model, CPLEX solver, nonlinear constraints
translate_model_var_name_unicode.py
Translate variable names using flashtext, print values.
visualize_decomposition_pygcgopt.py
Visualize decomposed Capacitated Multiple-Depot Routing Problem model.
word_counter.py
Word counter script for keyword analysis.
cplex_test.sh
Sets PATH, enables better exceptions for running Python script test_topo_check.py.
csv_utils.py
CSV reader appends commas, creates DataFrame.
debug_utils.py
Debugging, logging, error handling, micro challenge context manager.
det_failsafe_reload.sh
Deterministic Failsafe Mode Initiated
det_synth_mock_reload.sh
Runs bash script with deterministic mock enabled
device_whitelist.py
Define whitelist of microgrid devices in Chinese terms.
diesel_topo_check.py
Diesel generator topology check and results calculation
docker_launch.py
Docker management tool for updating, stopping, and tagging images.
Dockerfile_backup
Install Ubuntu, packages, setup Miniconda3 CPLEX for microgrid base.
Dockerfile_init
Dockerfile: Ubuntu 22.04, Conda, CPLEX setup for microgrid env.
Dockerfile_main
Microgrid base Dockerfile: configures CPLEX, bash files, self-updates.
Dockerfile_patch
Installs Python, CPLEX for microgrid_docplex.
Dockerfile_update
Updates microgrid base, installs packages, sets env vars, copies files.
Dockerfile_update_self
Updates base image, installs packages, sets env vars.
download_openapi_json.sh
Downloads OpenAPI JSON file and saves it.
dsl_parser
Microgrid DSL parser for simulation and code generation.
ast_utils.py
Recursive function for flattening models.
erglang_test
Erlang tests and functions directory
functional_base.py.j2
Checks and appends non-executable statements to IES/LES lists.
generate_code.py
Generates microgrid base code using templates
grammar.tx
Microgrid input data grammar definition
lex_yacc.py
LexMeta class defines consistent token attributes for PLY lexer/parser.
Makefile
Test Makefile for DSL parser project
mylang.ies
Introduces microgrid simulation language with advanced features.
pyomo_reduce_inequalities.py
Pyomo CPLEX, solve inequalities, abnormal exit conditions.
README.md
Automatic unit conversion in functional programming language.
sample.ies
Chinese code, defines "abcd" model with constants a, b, C and list d, e.
suppress_strict_inequalities.py
Suppresses strict inequalities, solves Pyomo model.
test
textx_syntax.py
Parses grammar, constructs metamodel, and prints parsed model structure.
yacc_init.py
Yacc-based parser with Ply lexer import.
your_model_name.lp
Pyomo optimization model: minimize x, constrain y, z, h
柴油.ies
柴油燃料模型代码
enum_class_as_literal_type.py
Enum, Literal, Pydantic: validate input data constants.
enumerate_possible_states.py
Generates and checks all state combinations.
export_format_units.py
Microgrid units class for energy source/device exports.
export_format_units.py.j2
Generates device classes with params and units.
export_format_validate.py
Microgrid simulation with PV, wind, battery, and hydrogen support.
export_format_validate.py.j2
Microgrid simulation, efficiency, cost, exports data.
expr_utils.py
Simplifies and evaluates symbolic expressions using regex and SymPy.
- Imports extra models, defines logger_print.
failsafe_reload.sh
Failsafe microgrid reload script.
failsafe_synth_mock_reload.sh
Failsafe microgrid script: sets FAILSAFE, runs synth_mock_reload.sh.
failsafe_utils.py
Microgrid failsafe utilities with logger, solver scripting.
fastapi_celery_functions.py
Calculates microgrid energy flow graph and handles exceptions.
fastapi_celery_server.py
Celery app setup for microgrid, exception handling, task functions. Log issues.
fastapi_datamodel_template.py
FastAPI data model template for microgrid objects.
fastapi_server_template.py
FastAPI server for microgrid optimization with Celery tasks and Pareto curve support.
fastapi_terminate_service.sh
Kills RabbitMQ, Redis, then terminates remaining panes with TMX.
fastapi_tmuxp.sh
Cross-platform tmuxp config loader.
fastapi_tmuxp.yml
FastAPI Tmux session with multiple windows and panes running various commands.
financial
Microgrid financial calculations with sympy
generate_basic_params.sh
Generates code from scripts, checks errors.
generate_makefile.py
Generate Python makefile from directory.
generate_microgrid_device_names.py
Prepares microgrid device names from CSV.
get_poly_degree_decompose_expression.py
Converts expression to Sympy format and simplifies
heatpump_code_reference
Microgrid heat pump optimization & models.
chained_submodel.py
Chained submodel, CPLEX optimization with mutable parameters.
example.py
Solves MIP problem using CPLEX, handles errors.
Machine_para_fit2.py
Heat pump model training and COP prediction.
plot_arr.py
Plots temperature data, saves figure with title.
print_profile.py
Prints sorted, filtered profile stats
profile_code.py
Heat pump profile code: Profiles model building, logs results
pyomo_piecewise_set.py
Pyomo piecewise set model: Minimize sum 'cy', considering bounds and conditions. Fast execution time.
pyomo_piecewise_set_concrete.py
Concrete model, set [1,2], piecewise function, valid variables.
result_processlib.py
Processes variable values in solution objects
run_profile.cmd
Runs profile_code.py with 2 conda envs and live-stream output.
self_contained_class_which_trace_the_caller.py
Traces caller of class methods in self-contained Python classes.
SoilSource_new.py
Heat pump model with coefficients, optimization, and Tfav storage.
HOW_TO_DEBUG.md
Debugging MILP models for microgrids: categorize, adjust objective, isolate errors.
ies_optim.py
Optimize IES with imported functions from modules.
ies_optim_legacy.py.j2
Microgrid optimization program with data validation and features.
init.sh
Initialize microgrid base, APT, solver, and Conda.
init_apt_environ.sh
Initialize package installation, update if needed.
init_docker_launch.sh
Installs Docker, uninstalls packages, reinstalls new ones.
init_solver.sh
Installs libraries for conda's "cplex" environment.
init_update_conda.sh
Initialize/update Conda packages (cplex, docplex)
init_update_conda_cplex.sh
Configures global index URL, installs packages.
init_update_conda_docplex.sh
Install DOCPLEX via pip in Conda, real-time updates.
install_cplex.sh
Installs CPLEX binary via script
install_docker.sh
Installs Docker on Ubuntu, dry-run option available
jinja_template_model_generator.py
Jinja template-based microgrid code generator
jinja_utils.py
Python Jinja templating utilities with error handling
json_utils.py
JSON update function with copy and traversal
lib_parse_params.py
Parse, repair, extract, filter, update JSON.
log_infeasible.py
Pyomo model, SolverFactory, infeasible constraint logging for microgrid.
log_infeasible.sh
Sets PATH, runs CPLEX script for optimization problems.
macro_test.j2
Jinja2 macros customization and usage.
macro_test.py
Macro test imports, renders template, logs result.
Makefile
Configure microgrid server, install dependencies, and build tasks.
Makefile.j2
Macro-defined Makefile for Python files, looping and rule creation.
makefile_ninja_pytest_incremental_test
Automated testing Microgrid base with incremental Ninja.
construct_ninja_file.py
Creates Ninja file with comment text using Writer class.
dodo.py
Random task execution.
generic.py
Generic typing for flexible data types.
lfnf.py
Testing equality of 1 and 1, 2 and 1. One failed.
Makefile.j2
Jinja-powered, boilerplate-reducing Makefile template
mytest.py
Test pytest with Ninja, Protocol class, and fixtures.
platform_detect_makefile
Makefile
Detects platform using Python script, assigns to PLATFORM.
test_buffer.py
Infinite loop, "OUTPUT" printed every second.
type_check.py
NewType, namedtuple, arithmetic ops, subscription access, list length.
typecheck.py
Type-check function arguments for expected types.
metaclass_field_verification.py
Metaclass-based multiplication and abstract methods.
microgrid_topo_check.py
Prepares environment, defines microgrid topology and optimizes parameters.
mock_data_test.py
Mock data generation for energy flow graphs testing.
mock_reload.sh
Mock reload, delete logs, extract files, create history directory, run scripts in mock environment.
mock_utils.py
Mock utilities for microgrid modeling.
modify_bashrc_for_mamba.py
Modify .bashrc for Mamba initialization.
natural_gas_generator_template.py
Natural gas generator template demo
packup_type_system.sh
Creates "type_system.7z" archive with microgrid files and text file
param_base.py
Configures microgrid simulation parameters and devices.
parse_export_format.py
Microgrid simulation code processes Excel data to JSON format.
parse_frontend_sim_param_translation.py
Maps Chinese names to English from JS file.
parse_optim_constraints.py
Parses microgrid optimizer constraints and logs types, names.
parse_params.py
CSV XLSX JSON parsing and conversion tool
parse_units_and_names.py
Parse, format, retrieve, process, update, convert, categorize, populate, ensure compatibility.
passwords_template.py
Password-initialized, logger_print imported.
plot_utils.py
Plots microgrid topologies and devices.
prolog_gen.pro.j2
Prolog code for energy-based microgrid logic and list manipulation
pyomo_environ.py
Imports, checks, transforms disjunctive models.
pyomo_patch.py
Patch adds strict inequality support, maintains compatibility, and customizes _BlockData class.
pyright_utils.py
Monkey-patched Pyright testing functions and error handling.
README.md
Python-based microgrid system using IESLang.
reduce_demo_data_size.py
Reduce JSON data size with specific transformations.
reload.sh
Updates APT, installs 7z, unpacks release, sets environment for Docker launch.
render_and_packup_report.py
Reports generation, packing, logging, and copying.
render_type_utils.py
Manages microgrid systems with classes, dictionaries, and functions.
report_template.md.j2
Microgrid report template generator
setup_docker.sh
Install Docker and dependencies script.
shared_datamodels.py
Refine conflict parameters in microgrid base.
solve_model.py
Solve microgrid models with CPLEX optimization.
synth_mock_reload.sh
Set GENERATED_MOCK to True, run reload.sh script.
test
Evaluates, fixes and optimizes cost-effective microgrid components.
circular_import_a.py
Circular import of a and b, print 'b'.
circular_import_b.py
Circular import error in circular_import_b.py
common_fixtures.py.j2
Microgrid test fixtures template for NumPy, Jinja.
conic_problem.py
Conic problem: find min/max values of x*y - 2(x+y)
dev_info_tmp_gen.py
Generates device info for microgrid system.
generate_test_model.py
Generates test model using Jinja utils.
Makefile
Set up environment, define exec methods, run tests. Makefile with rules for files needed by tests.
mapping_relationship_in_enum_classes.py
Enum class mapping relationships. Mapping between A and B, new member creation.
read_yaml.py
YAML configuration file reader and printer
run_test.sh
Runs CPLEX test with pytest flags and parameters.
runtime_override_stepwise.py
Stepwise code manipulation for testing.
test_common_fixtures.py
Fixture function for pytest framework, returns "FIXTURE VAL".
test_dict_fallback.py
Test: Defaultdict with fallback "default"
test_export.py.j2
Microgrid base test script.
test_failsafe.py
Microgrid failsafe testing in Python.
test_getter_setter_dynamic_property.py
TestClass: slots, getter/setter, unexpected behavior with unrelated property.
test_model.py.j2
Testing, optimizing, and solving power models. Efficiency and cost analysis.
test_model_info.py
Test Hydra-based microgrid config utility
test_pwire_select.py
Power wire selection algorithm.
test_setting_calculated_value.py
Code sets attribute 'a' to 2 when setting attribute 'b'.
test_use_fixture.py
Tests "my_fixture" from "test_common_fixtures".
test_class.py
Graph creation and analysis with NetworkX, JSON conversion.
test_json_input_format.py
Test script for JSON input format in microgrid simulation.
test_neverundefined
Microgrid base test, never undefined.
test_replace_logger.py.j2
Unused loggers in both functions
test_replace_logger_no_template.py
No logger, duplicate prints.
test_topo_check.py
Microgrid ops, PV-diesel, JSON topology check, constraint verification.
test_wrapper.py
Celery app, task function, resource constraints.
test_wrapper_celery.py
Monitor task execution progress with Celery app.
topo_check.py
Microgrid base topology checker.
topo_check_v1.py.j2
Microgrid network validation and topology initialization.
topo_check_v2.py.j2
Microgrid topology management and network analysis.
type_def.py
StrEnum definitions for energy, water, and refrigerants. Type resolver function included.
type_system.md
Microgrid device type system: rules, formats, connection relationships.
type_system.py
Manages device ports, connection lines, and microgrid types.
type_system_v2.py
Microgrid system type 2 with config, matrices, params, and graph visualization.
type_utils.py.j2
Microgrid system Prolog environment verification and validation.
typical_day_calc.py
Microgrid daily load calculations and day lists.
unit_utils.py
Unit conversion tool using pint's UnitRegistry and logging
violation_utils.py
Microgrid system violation analysis and constraints handling.
mini_data_log_utils.py
Solves IntegratedEnergySystem models, handles conflicts, returns solution or error.
mini_heat_system.py
Mini-heat system initialization, device creation, and visualization.
mini_ies_test.py
Microgrid simulation with CPLEX and EnergyStorageSystem.
mini_ies_topology.py
Python script visualizes network graph with nodes PV, BESS, LOAD, NODE1, GRID
mini_refrigeration_system.py
Mini refrigeration system with LiBr model, photothermal plate.
network_visualize_packup.cmd
Compresses Python files into archive. More commands coming.
neural_network_demo.py
Neural network model with Hardtanh, 3 layers.
neural_network_linearize_nonlinear_function_test.py
Trains neural network, MSE loss, Adam optimizer, forward/backward pass.
neural_network_loading_convert_to_numpy_matrix.py
Load, convert, apply activation, generate test data, forward propagate, verify results.
output_pdf
Tools for PDF conversion and Markdown customization
packup.sh
Archives .py, .j2, .json, .txt and removes existing archive.7z
parse_device_parameters_excel.py
Excel font color data gatherer
parse_device_parameters_excel_v2.py
Extracts Excel device parameters, formats JSON.
pendulum.jl
Pendulum model, ODE problem, solve and calculate.
pendulum.py
Pendulum motion simulated with Python and Scipy library.
pendulum_finite_differentiate.py
Pendulum finite differences, Matplotlib plot.
piecewise_approximation_test.py
Piecewise approximation using linear interpolation, sine and power functions.
pint_convert_units.py
Converts units using pint library.
pint_merge_units.py
Merge units with Pint. Compatibility check and printing.
plot_arr.py
Plots non-zero values from array, labels axes, creates legend, saves figure.
pydantic_validator_test.py
Pydantic data validation and modeling demonstration.
pyomo_define_array_list.py
Pyomo array, parameters, bounds, constraints, objective, solve with CPLEX
pyomo_shot_test.py
Pyomo shot test: Imports, model, constraint, IPOPT fail.
pyomo_test_solve_nonlinear_cplex.py
Pyomo model, ConcreteModel, solver "mindtpy"
pyomo_triangulate_multivariate_linearization.py
Python script triangulates multivariate linear functions for optimization.
questions.md
Financial modeling of CloudPSS project using Pyomo.
questions_packup.cmd
Deletes, zips, and archives specified files.
README.md
Linear approximation of nonlinear multivariate functions in IES framework.
- Regular expression extracts parentheses text.
reset_codepage.reg
Reset command prompt settings.
result_processlib.py
Imports docplex, defines Value class for variable values.
runhide.vbs
Runs hidden, verifies syntax, displays credit, exits with code.
schedule_update.cmd
Update Task Scheduler: Run "scheduled_commit.cmd" every 5 minutes as "IES_Modeling".
scheduled_commit.cmd
Executes script, hides console, logs output.
script.sh
Fetch, set headers, append to file.
serve_pydoc.ps1
Serve Python docs via web server using pdoc3.
setup_gptcommit.cmd
Configure GPTCommit with OpenAI, install, update periodically.
setup_gptcommit.sh
Automatically configures GPTcommit for OpenAI with local API key.
subversion_sync.cmd
Subversion update, copy files, commit "update"
symlinks
system_topology_utils.py
Energy system graph generator, saves and displays flexibly.
taylor_series_expansion_approximation_nonlinear_function_piecewise.py
Approximates sin(x) using Taylor series & piecewise power calculations.
test_add_lower_and_upper_bounds.py
Test model with variable "var" bound between 5 and 15, check for conflicts.
test_class_create.py
Class: Test, Attributes: Data, Value, Methods: Execute_init, Print.
test_client.py
Imports, reads data, sets ID, makes GET request, prints JSON.
test_cpexample.cmd
Sets PATH, executes PowerShell script, logs output.
test_cpexample.ps1
Executes Python script, outputs to console and file.
test_decorate_class_method.py
Class method decorator wraps and logs function calls.
test_linearization_max_zeros.py
Maximizes zeros in y without objective function.
test_loading_light_intensity_data.py
Reads, prints, and fails to concatenate radiation data.
test_plot.jl
Imports Plots, creates array, no plot, prints values.
test_server.py
Asynchronous API endpoints, global lock, uvicorn server.
test_server_client_configs.py
Server, endpoints, URLs, task limit, upload graphs.
test_timedelta.py
Calculate date difference in days.
test_undefined.py
Undefined variable assignment.
topology_conversion.py
Topology conversion, adds nodes and edges.
validity_check.py
Iterates, validates function calls, prints success/failure.