Skip to content

Normalised objective function behaving weirdly #1870

@jonmaddock

Description

@jonmaddock

In GitLab by @kj5248 on May 31, 2023, 14:23

Inconstistent behaviour of (norm_objf) in output file in relation to objective function. For example:

 Normalised objective function                                            (norm_objf)              -1.426E-04  OP 

but

 Net electric power output(MW)                                            (pnetelmw.)                 -12.026  OP 

whereas the normalised objective function in the example considered here should be

    case (17)  !  net electrical output
       fc = sgn * pnetelmw / 500.0d0

where sgn is the sign of minmax:

    !  If sgn is -1 the value of fc will be maximised
    !  If sgn is +1 the value of fc will be minimised

The value should be -(-12)/500 = 0.024, not -1.426E-04.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions