Skip to main content
Solved

copy one Section in Project A to Project B

  • September 14, 2024
  • 1 reply
  • 26 views

Forum|alt.badge.img+2

Can AIMMS achieve the function that copy one Section in Project A to Project B?  For example, there are two projects that need to use the energy storage model. I've built an energy storage module in Project A. How can I copy this module to Project B to avoid repetitive modeling?

Best answer by gdiepen

You could make use of either Libraries in AIMMS (https://how-to.aimms.com/Articles/375/375-library-function-procedure.html) or what I have used before to quickly share export/import certain identifiers from one project to another is using the “source” attribute of a section to write all identifiers within that section into a separate .ams file (and in the second project, read from that file). This part is explained in the howto article https://how-to.aimms.com/Articles/145/145-import-export-section.html

1 reply

gdiepen
AIMMS Champ
Forum|alt.badge.img+7
  • AIMMS Champ
  • Answer
  • September 14, 2024

You could make use of either Libraries in AIMMS (https://how-to.aimms.com/Articles/375/375-library-function-procedure.html) or what I have used before to quickly share export/import certain identifiers from one project to another is using the “source” attribute of a section to write all identifiers within that section into a separate .ams file (and in the second project, read from that file). This part is explained in the howto article https://how-to.aimms.com/Articles/145/145-import-export-section.html


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator