Skip to main content
Ctrl+K

AMS 1.2.3 documentation

  • Getting started
  • Examples
  • Development
  • Release notes
  • Routine reference
    • Model reference
    • API reference
  • Getting started
  • Examples
  • Development
  • Release notes
  • Routine reference
  • Model reference
  • API reference

Section Navigation

  • System
  • Device
  • Routine
    • ams.opt.Var
      • Var.evaluate
      • Var.get_all_idxes
      • Var.get_idx
      • Var.parse
      • Var.class_name
      • Var.e
      • Var.formulation_source
      • Var.n
      • Var.shape
      • Var.size
      • Var.v
    • ams.opt.Constraint
      • Constraint.evaluate
      • Constraint.get_all_idxes
      • Constraint.get_idx
      • Constraint.parse
      • Constraint.class_name
      • Constraint.e
      • Constraint.e_fn
      • Constraint.e_str
      • Constraint.formulation_source
      • Constraint.n
      • Constraint.shape
      • Constraint.size
      • Constraint.v
    • ams.opt.Objective
      • Objective.add_term
      • Objective.evaluate
      • Objective.get_all_idxes
      • Objective.get_idx
      • Objective.parse
      • Objective.class_name
      • Objective.e
      • Objective.e_fn
      • Objective.e_str
      • Objective.formulation_source
      • Objective.n
      • Objective.shape
      • Objective.size
      • Objective.v
    • ams.opt.OModel
      • OModel.evaluate
      • OModel.finalize
      • OModel.init
      • OModel.parse
      • OModel.update
      • OModel.class_name
      • OModel.initialized
  • Examples
  • Migration: canonical CVXPY in e_str (v1.2.3)
  • Test suite layout
  • Development

Development#

This chapter introduces advanced topics on modeling with AMS. It aims to give an in-depth explanation of flexible dispatch mdoeling framework and the interoperation with dynamic simulation.

  • System
    • Overview
    • Device-level Models
    • Routine-level Models
    • Optimization
  • Device
    • Parameters
    • Variables
    • Model
    • Examples
  • Routine
    • Data Section
    • Model Section
    • Interoperation with ANDES
  • Examples
    • DCOPF
  • Migration: canonical CVXPY in e_str (v1.2.3)
    • What changed and why
    • Substitution table
    • Worked examples (from PR #244)
    • Customization patterns
    • Reserved-name guard
    • formulation_source and the eval-fallback rename
    • SymProcessor.sub_map and val_map removal
    • Constraint.is_eq retired — embedded-operator LHS-zero e_str
    • See also
  • Test suite layout
    • Tree
    • Folder scope
    • Shared fixtures (tests/conftest.py)
    • Parametrized scenario modules
    • Adding a test
    • CLI selectors

previous

Two formulations of DCOPF

next

System

Edit on GitHub
Show Source

© Copyright 2023-2025, Jinning Wang.

Created using Sphinx 9.0.4.

Built with the PyData Sphinx Theme 0.17.1.