dowlinglab / pyomo-doe

Workshop tutorials for Pyomo.DoE
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

May Revisions #2

Open adowling2 opened 4 months ago

adowling2 commented 4 months ago

This issue tracks improvement tasks in May (after the practice run).

Slides:

Plots:

Modeling:

Numpy:

Pyomo tutorial:

Parameter Estimation:

DoE exploratory analysis:

New notebook on DoE extras:

DoE optimization:

General:

Pyomo.DoE improvements:

Landing page:

adowling2 commented 4 months ago

During the presentation, skip the numpy modeling. That will speed up the time.

adowling2 commented 4 months ago

Pyomo.DoE exercise. D-opt:

Total number of variables............................:    44157
                     variables with only lower bounds:        4
                variables with lower and upper bounds:    24309
                     variables with only upper bounds:        0
Total number of equality constraints.................:    43250
Total number of inequality constraints...............:        0
        inequality constraints with only lower bounds:        0
   inequality constraints with lower and upper bounds:        0
        inequality constraints with only upper bounds:        0

907 degrees of freedom. Expected 900.

A-opt has 901 degrees of freedom.

Total number of variables............................:    44142
                     variables with only lower bounds:        1
                variables with lower and upper bounds:    24309
                     variables with only upper bounds:        0
Total number of equality constraints.................:    43241
Total number of inequality constraints...............:        0
        inequality constraints with only lower bounds:        0
   inequality constraints with lower and upper bounds:        0
        inequality constraints with only upper bounds:        0
adowling2 commented 4 months ago

Looking further into the FIM:

fim : Size=16, Index=regression_parameters*regression_parameters
        Key                    : Lower : Value               : Upper : Fixed : Stale : Domain
                  ('Ua', 'Ua') :  None :  190391978.90971845 :  None : False : False :  Reals
                  ('Ua', 'Ub') :  None : -192132808.31251907 :  None : False : False :  Reals
             ('Ua', 'inv_CpH') :  None :  -8523487.709703343 :  None : False : False :  Reals
             ('Ua', 'inv_CpS') :  None : -1778.4067336132327 :  None : False : False :  Reals
                  ('Ub', 'Ua') :  None :                   0 :  None : False :  True :  Reals
                  ('Ub', 'Ub') :  None :  3634469242.1266756 :  None : False : False :  Reals
             ('Ub', 'inv_CpH') :  None :   61416421.37004702 :  None : False : False :  Reals
             ('Ub', 'inv_CpS') :  None :  23883.415279158395 :  None : False : False :  Reals
             ('inv_CpH', 'Ua') :  None :                   0 :  None : False :  True :  Reals
             ('inv_CpH', 'Ub') :  None :                   0 :  None : False :  True :  Reals
        ('inv_CpH', 'inv_CpH') :  None :   1586876.981660226 :  None : False : False :  Reals
        ('inv_CpH', 'inv_CpS') :  None :  19465.229008144302 :  None : False : False :  Reals
             ('inv_CpS', 'Ua') :  None :                   0 :  None : False :  True :  Reals
             ('inv_CpS', 'Ub') :  None :                   0 :  None : False :  True :  Reals
        ('inv_CpS', 'inv_CpH') :  None :                   0 :  None : False :  True :  Reals
        ('inv_CpS', 'inv_CpS') :  None :   4373.306916686016 :  None : False : False :  Reals

Fix lower diagonal elements to zero (because they are not calculated)?