private TInput createInput(String type,String name,String value){
  String outVal=value;
  if (value.contains("source") || value.contains("Connection")) {
    if (uniqueSources.containsKey(value) && value.contains("Connection")) {
      outVal="source" + uniqueSources.get(value);
    }
 else {
      int s=numSources;
      numSources++;
      uniqueSources.put(value,s);
      outVal="source" + s;
    }
  }
 else   if (value.contains("null")) {
    outVal="null";
  }
  return new TInput(type,name,outVal);
}

private TInput createInput ( String type , String name , String value ) { String outVal = value ; if ( value . contains ( "source" ) || value . contains ( "Connection" ) ) { if ( uniqueSources . containsKey ( value ) && value . contains ( "Connection" ) ) { outVal = "source" + uniqueSources . get ( value ) ; } else { int s = numSources ; numSources ++ ; uniqueSources . put ( value , s ) ; outVal = "source" + s ; } } else if ( value . contains ( "null" ) ) { outVal = "null" ; } return new TInput ( type , name , outVal ) ; }
creates a tinput for a tstep
