Skip to main content
Ctrl+K

AMS 1.0.8 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

  • ams.system
    • disable_method
    • disable_methods
    • example
    • ams.system.System
      • System.add
      • System.as_dict
      • System.calc_pu_coeff
      • System.call_models
      • System.collect_config
      • System.collect_ref
      • System.connectivity
      • System.e_clear
      • System.f_update
      • System.fg_to_dae
      • System.find_devices
      • System.find_models
      • System.from_ipysheet
      • System.g_islands
      • System.g_update
      • System.get_z
      • System.import_groups
      • System.import_models
      • System.import_routines
      • System.import_types
      • System.init
      • System.j_islands
      • System.j_update
      • System.l_update_eq
      • System.l_update_var
      • System.link_ext_param
      • System.precompile
      • System.prepare
      • System.reload
      • System.remove_pycapsule
      • System.report
      • System.reset
      • System.s_update_post
      • System.s_update_var
      • System.save_config
      • System.set_address
      • System.set_config
      • System.set_dae_names
      • System.set_output_subidx
      • System.set_var_arrays
      • System.setup
      • System.store_adder_setter
      • System.store_existing
      • System.store_no_check_init
      • System.store_sparse_pattern
      • System.store_switch_times
      • System.summary
      • System.supported_models
      • System.supported_routines
      • System.switch_action
      • System.to_andes
      • System.to_ipysheet
      • System.undill
      • System.vars_to_dae
      • System.vars_to_models

Model

  • ams.core.model
    • ams.core.model.Model
      • Model.alter
      • Model.doc
      • Model.get
      • Model.get_all_idxes
      • Model.get_idx
      • Model.idx2uid
      • Model.list2array
      • Model.set
      • Model.set_backref
      • Model.class_name
  • ams.core.param
    • ams.core.param.RParam
      • RParam.evaluate
      • RParam.get_all_idxes
      • RParam.get_idx
      • RParam.parse
      • RParam.update
      • RParam.class_name
      • RParam.dtype
      • RParam.n
      • RParam.shape
      • RParam.size
      • RParam.v
  • ams.core.var
    • ams.core.var.Algeb
      • Algeb.class_name
  • ams.core.service
    • ams.core.service.LoadScale
      • LoadScale.assign_memory
      • LoadScale.evaluate
      • LoadScale.get_all_idxes
      • LoadScale.get_idx
      • LoadScale.get_names
      • LoadScale.parse
      • LoadScale.update
      • LoadScale.class_name
      • LoadScale.n
      • LoadScale.shape
      • LoadScale.size
      • LoadScale.v
    • ams.core.service.MinDur
      • MinDur.assign_memory
      • MinDur.evaluate
      • MinDur.get_all_idxes
      • MinDur.get_idx
      • MinDur.get_names
      • MinDur.parse
      • MinDur.update
      • MinDur.class_name
      • MinDur.n
      • MinDur.shape
      • MinDur.size
      • MinDur.v
      • MinDur.v0
      • MinDur.v1
    • ams.core.service.NumExpandDim
      • NumExpandDim.assign_memory
      • NumExpandDim.evaluate
      • NumExpandDim.get_all_idxes
      • NumExpandDim.get_idx
      • NumExpandDim.get_names
      • NumExpandDim.parse
      • NumExpandDim.update
      • NumExpandDim.class_name
      • NumExpandDim.n
      • NumExpandDim.shape
      • NumExpandDim.size
      • NumExpandDim.v
      • NumExpandDim.v0
      • NumExpandDim.v1
    • ams.core.service.NumHstack
      • NumHstack.assign_memory
      • NumHstack.evaluate
      • NumHstack.get_all_idxes
      • NumHstack.get_idx
      • NumHstack.get_names
      • NumHstack.parse
      • NumHstack.update
      • NumHstack.class_name
      • NumHstack.n
      • NumHstack.shape
      • NumHstack.size
      • NumHstack.v
      • NumHstack.v0
      • NumHstack.v1
    • ams.core.service.NumOp
      • NumOp.assign_memory
      • NumOp.evaluate
      • NumOp.get_all_idxes
      • NumOp.get_idx
      • NumOp.get_names
      • NumOp.parse
      • NumOp.update
      • NumOp.class_name
      • NumOp.n
      • NumOp.shape
      • NumOp.size
      • NumOp.v
      • NumOp.v0
      • NumOp.v1
    • ams.core.service.NumOpDual
      • NumOpDual.assign_memory
      • NumOpDual.evaluate
      • NumOpDual.get_all_idxes
      • NumOpDual.get_idx
      • NumOpDual.get_names
      • NumOpDual.parse
      • NumOpDual.update
      • NumOpDual.class_name
      • NumOpDual.n
      • NumOpDual.shape
      • NumOpDual.size
      • NumOpDual.v
      • NumOpDual.v0
      • NumOpDual.v1
    • ams.core.service.RBaseService
      • RBaseService.assign_memory
      • RBaseService.evaluate
      • RBaseService.get_all_idxes
      • RBaseService.get_idx
      • RBaseService.get_names
      • RBaseService.parse
      • RBaseService.update
      • RBaseService.class_name
      • RBaseService.n
      • RBaseService.shape
      • RBaseService.size
      • RBaseService.v
    • ams.core.service.ROperationService
      • ROperationService.assign_memory
      • ROperationService.evaluate
      • ROperationService.get_all_idxes
      • ROperationService.get_idx
      • ROperationService.get_names
      • ROperationService.parse
      • ROperationService.update
      • ROperationService.class_name
      • ROperationService.n
      • ROperationService.shape
      • ROperationService.size
      • ROperationService.v
    • ams.core.service.RampSub
      • RampSub.assign_memory
      • RampSub.evaluate
      • RampSub.get_all_idxes
      • RampSub.get_idx
      • RampSub.get_names
      • RampSub.parse
      • RampSub.update
      • RampSub.class_name
      • RampSub.n
      • RampSub.shape
      • RampSub.size
      • RampSub.v
      • RampSub.v0
      • RampSub.v1
    • ams.core.service.ValueService
      • ValueService.assign_memory
      • ValueService.evaluate
      • ValueService.get_all_idxes
      • ValueService.get_idx
      • ValueService.get_names
      • ValueService.parse
      • ValueService.update
      • ValueService.class_name
      • ValueService.n
      • ValueService.shape
      • ValueService.size
      • ValueService.v
    • ams.core.service.VarReduction
      • VarReduction.assign_memory
      • VarReduction.evaluate
      • VarReduction.get_all_idxes
      • VarReduction.get_idx
      • VarReduction.get_names
      • VarReduction.parse
      • VarReduction.update
      • VarReduction.class_name
      • VarReduction.n
      • VarReduction.shape
      • VarReduction.size
      • VarReduction.v
      • VarReduction.v0
      • VarReduction.v1
    • ams.core.service.VarSelect
      • VarSelect.assign_memory
      • VarSelect.evaluate
      • VarSelect.get_all_idxes
      • VarSelect.get_idx
      • VarSelect.get_names
      • VarSelect.parse
      • VarSelect.update
      • VarSelect.class_name
      • VarSelect.n
      • VarSelect.shape
      • VarSelect.size
      • VarSelect.v
      • VarSelect.v0
      • VarSelect.v1
    • ams.core.service.ZonalSum
      • ZonalSum.assign_memory
      • ZonalSum.evaluate
      • ZonalSum.get_all_idxes
      • ZonalSum.get_idx
      • ZonalSum.get_names
      • ZonalSum.parse
      • ZonalSum.update
      • ZonalSum.class_name
      • ZonalSum.n
      • ZonalSum.shape
      • ZonalSum.size
      • ZonalSum.v
      • ZonalSum.v0
      • ZonalSum.v1
  • ams.core.matprocessor
    • ams.core.matprocessor.MParam
      • MParam.evaluate
      • MParam.export_csv
      • MParam.get_all_idxes
      • MParam.get_idx
      • MParam.parse
      • MParam.update
      • MParam.class_name
      • MParam.n
      • MParam.shape
      • MParam.size
      • MParam.v
    • ams.core.matprocessor.MatProcessor
      • MatProcessor.build
      • MatProcessor.build_bbus
      • MatProcessor.build_bf
      • MatProcessor.build_cft
      • MatProcessor.build_cg
      • MatProcessor.build_cl
      • MatProcessor.build_csh
      • MatProcessor.build_lodf
      • MatProcessor.build_otdf
      • MatProcessor.build_pbusinj
      • MatProcessor.build_pfinj
      • MatProcessor.build_ptdf
      • MatProcessor.class_name
      • MatProcessor.n

Routines

  • ams.routines.routine
    • collect_data
    • initialize_data_dict
    • ams.routines.routine.RoutineBase
      • RoutineBase.addConstrs
      • RoutineBase.addRParam
      • RoutineBase.addService
      • RoutineBase.addVars
      • RoutineBase.dc2ac
      • RoutineBase.disable
      • RoutineBase.doc
      • RoutineBase.enable
      • RoutineBase.export_csv
      • RoutineBase.get
      • RoutineBase.init
      • RoutineBase.run
      • RoutineBase.set
      • RoutineBase.solve
      • RoutineBase.summary
      • RoutineBase.unpack
      • RoutineBase.update
      • RoutineBase.class_name
  • ams.routines.dcopf
    • ams.routines.dcopf.DCOPF
      • DCOPF.addConstrs
      • DCOPF.addRParam
      • DCOPF.addService
      • DCOPF.addVars
      • DCOPF.dc2ac
      • DCOPF.disable
      • DCOPF.doc
      • DCOPF.enable
      • DCOPF.export_csv
      • DCOPF.get
      • DCOPF.init
      • DCOPF.run
      • DCOPF.set
      • DCOPF.solve
      • DCOPF.summary
      • DCOPF.unpack
      • DCOPF.update
      • DCOPF.class_name
  • ams.routines.pflow
    • ams.routines.pflow.PFlow
      • PFlow.addConstrs
      • PFlow.addRParam
      • PFlow.addService
      • PFlow.addVars
      • PFlow.dc2ac
      • PFlow.disable
      • PFlow.doc
      • PFlow.enable
      • PFlow.export_csv
      • PFlow.get
      • PFlow.init
      • PFlow.run
      • PFlow.set
      • PFlow.solve
      • PFlow.summary
      • PFlow.unpack
      • PFlow.update
      • PFlow.class_name

Optimization

  • ams.opt
    • ams.opt.constraint
      • ams.opt.constraint.Constraint
        • Constraint.evaluate
        • Constraint.get_all_idxes
        • Constraint.get_idx
        • Constraint.parse
        • Constraint.class_name
        • Constraint.e
        • Constraint.n
        • Constraint.shape
        • Constraint.size
        • Constraint.v
    • ams.opt.exprcalc
      • ams.opt.exprcalc.ExpressionCalc
        • ExpressionCalc.evaluate
        • ExpressionCalc.get_all_idxes
        • ExpressionCalc.get_idx
        • ExpressionCalc.parse
        • ExpressionCalc.class_name
        • ExpressionCalc.e
        • ExpressionCalc.n
        • ExpressionCalc.shape
        • ExpressionCalc.size
        • ExpressionCalc.v
    • ams.opt.expression
      • ams.opt.expression.Expression
        • Expression.evaluate
        • Expression.get_all_idxes
        • Expression.get_idx
        • Expression.parse
        • Expression.class_name
        • Expression.e
        • Expression.n
        • Expression.shape
        • Expression.size
        • Expression.v
    • ams.opt.objective
      • ams.opt.objective.Objective
        • Objective.evaluate
        • Objective.get_all_idxes
        • Objective.get_idx
        • Objective.parse
        • Objective.class_name
        • Objective.e
        • Objective.n
        • Objective.shape
        • Objective.size
        • Objective.v
    • ams.opt.omodel
      • ams.opt.omodel.OModel
        • OModel.evaluate
        • OModel.finalize
        • OModel.init
        • OModel.parse
        • OModel.update
        • OModel.class_name
        • OModel.initialized
      • ams.opt.omodel.OModelBase
        • OModelBase.evaluate
        • OModelBase.finalize
        • OModelBase.init
        • OModelBase.parse
        • OModelBase.update
        • OModelBase.class_name
        • OModelBase.initialized
    • ams.opt.optzbase
      • ensure_mats_and_parsed
      • ensure_symbols
      • ams.opt.optzbase.OptzBase
        • OptzBase.evaluate
        • OptzBase.get_all_idxes
        • OptzBase.get_idx
        • OptzBase.parse
        • OptzBase.class_name
        • OptzBase.n
        • OptzBase.shape
        • OptzBase.size
    • ams.opt.param
      • ams.opt.param.Param
        • Param.evaluate
        • Param.get_all_idxes
        • Param.get_idx
        • Param.parse
        • Param.update
        • Param.class_name
        • Param.n
        • Param.shape
        • Param.size
    • ams.opt.var
      • ams.opt.var.Var
        • Var.evaluate
        • Var.get_all_idxes
        • Var.get_idx
        • Var.parse
        • Var.class_name
        • Var.n
        • Var.shape
        • Var.size
        • Var.v

I/O

  • ams.io
    • guess
    • parse
    • ams.io.json
      • write
    • ams.io.matpower
      • m2mpc
      • mpc2system
      • read
      • system2mpc
      • testlines
    • ams.io.psse
    • ams.io.pypower
      • ppc2system
      • py2ppc
      • read
      • system2ppc
      • testlines
    • ams.io.xlsx
      • write

Interoperability

  • ams.interface
    • build_group_table
    • make_link_table
    • parse_addfile
    • replace_dev
    • sync_adsys
    • to_andes
    • to_andes_pflow
    • verify_pf
    • ams.interface.Dynamic
      • Dynamic.link_andes
      • Dynamic.receive
      • Dynamic.send
      • Dynamic.is_tds

Others

  • ams.cli
    • create_parser
    • main
    • preamble
  • ams.main
    • config_logger
    • demo
    • doc
    • edit_conf
    • find_log_path
    • load
    • misc
    • print_license
    • remove_output
    • run
    • run_case
    • save_conf
    • selftest
    • set_logger_level
    • versioninfo
  • ams.utils.paths
    • ams_root
    • cases_root
    • confirm_overwrite
    • get_case
    • get_config_path
    • get_dot_andes_path
    • get_log_dir
    • get_pkl_path
    • get_pycode_path
    • list_cases
    • tests_root
    • ams.utils.paths.DisplayablePath
      • DisplayablePath.displayable
      • DisplayablePath.make_tree
      • DisplayablePath.display_filename_prefix_last
      • DisplayablePath.display_filename_prefix_middle
      • DisplayablePath.display_parent_prefix_last
      • DisplayablePath.display_parent_prefix_middle
      • DisplayablePath.displayname
  • API reference
  • ams.main
  • print_license

print_license#

ams.main.print_license()[source]#

Print out AMS license to stdout.

previous

misc

next

remove_output

On this page
  • print_license()
Edit on GitHub

This Page

  • Show Source

© Copyright 2023-2025, Jinning Wang.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.