﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2900	Assign Value to A Complex Parameter	mengjia@…	MJ	"Hi,

Does anyone know why the complex math operator doesn't work in the parameter declaration ?
I want to compute C as a product of two complex parameters. The code is following :
 
  parameter Complex A(re = 1, im = 2) ;
  parameter Complex B(re = 1, im = 2) ;
  parameter Complex C= A * B ;

But the value for C wouldn't be A*B in this case.

There are warning shows up as following:

Warning: Parameter C.im has no value, and is fixed during       initialization (fixed=true), using available start value (start=0.0) as default   value.

Warning: Parameter C.re has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value.


I have tried to build the operator as math function inside the model like ComplexDivide. But still it didn't work. The warning was still there.

parameter Complex C= ComplexDivide(A, B);

"	defect	closed	high	never	Frontend	trunk	duplicate	Complex	Willi Braun
