﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6244	OM does not support modification of complex types	Dietmar Winkler	Per Östlund	"When working on introducing nominal values for types in [OpenIPSL](https://github.com/OpenIPSL/OpenIPSL/blob/master/OpenIPSL/Types.mo) in the same way it is done in PowerGrids we noticed that OpenModelica has problems with the redefinition of the types. 

What works is:
`operator record ComplexPower = SI.ComplexPower;`

But doing:
`operator record ComplexPower = SI.ComplexPower(re(nominal = 1e8, displayUnit=""MW""), im(nominal = 1e8, displayUnit=""MVA""));`

does fail in OpenModelica (see attached type_log.txt)

So it seems some issue with the modification.

I could not test this in PowerGrids since that library is currently not even passing simple checks, so hard do isolate this issue there. 

Ah yes and of course it works fine in Dymola ;-)
"	defect	closed	high	1.17.0	New Instantiation	v1.17.0-dev	worksforme		Francesco Casella
