public JsonResult PowerOutputData()
 {
     var input = GetDbModel();
     var calc = new Calculator();
     calc.Do(input);
     var arr = calc.PowerOutput.Select(po =>
         new object[]
             {
                 po.Method,
                 po.Velocity.ToString ("0.00000000"),
                 po.Output.ToString ("0.00000000"),
                 po.Differences.ToString ("0.00000000")
             }).ToArray();
     return Json(arr, JsonRequestBehavior.AllowGet);
 }
 public JsonResult PowerOutputAdvancedData()
 {
     var input = GetDbModel();
     var calc = new Calculator();
     calc.Do(input);
     var arr = calc.AdvancedCfdItems.Select(po =>
         new object[]
             {
                 po.Method,
                 po.FrictionVelocity.ToString ("0.00000000"),
                 po.RoughnessHeight.ToString ("0.00000000")
             }).ToArray();
     return Json(arr, JsonRequestBehavior.AllowGet);
 }