﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5414	Unsolvable Error pertaining to variable not found within model	KieranF <kieran.fung@…>	Lennart Ochel	"I'm currently working on building a heat recovery steam generator and have just started building from the ThermoPower Library and connect an evaporator to the economizer.

When trying to simulate an error occurs within the OMEdit Simulator: 

division by zero at time 0, (a=-458389.9207317767) / (b=0), where divisor b expression is: 8.75988806777792 * Economizer.metalTube.Am * Economizer.metalTube.rhomcm * /*Real*/(Economizer.metalTube.Nt)

I'm not the best at debugging my models but I have an idea and I have some confusion trouble shooting this. My initial confusion was to verify which variable resulted in b=0. However, upon inspection I noticed how the variable Economizer.metalTube.Nt, Economizer.metalTube.Am did not exist within my the economizer class. I knew it had to be rooted into my class through extensions and partial classes and tried to define these ""missing"" variables in the text view of my economizer model, but this simply resulted in an error saying:

[1] 11:46:14 Translation Error
[ThermoPower_HRSG_Econ_Evap: 68:3-92:112]: Variable Economizer: In modifier (Nt = 3), class or component Nt not found in <ThermoPower.Examples.RankineCycle.Models.HE$Economizer>.

How exactly do I trouble shoot this error if I cannot define or locate the needed variables that are causing b=0?

Please let me know what you think about this. Your time and energy is greatly appreciated. "	defect	new	high	Future	OMSimulator	v1.13.2			
