You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2id="initialization-of-m6-object-class-creation">Initialization of M6 Object Class Creation<aclass="headerlink" href="#initialization-of-m6-object-class-creation" title="Permanent link">¶</a></h2>
<h3id="initialization-of-m6-object-class-creation">Initialization of M6 Object Class Creation<aclass="headerlink" href="#initialization-of-m6-object-class-creation" title="Permanent link">¶</a></h3>
574
763
<p>Firstly, we have to import M6 object class named <code>EconomicSuitability</code> to initiate the mandatory process.</p>
@@ -615,7 +804,7 @@ <h2 id="initialization-of-m6-object-class-creation">Initialization of M6 Object
615
804
</tbody>
616
805
</table>
617
806
<hr/>
618
-
<h2id="crop-economic-data-input">Crop Economic Data Input<aclass="headerlink" href="#crop-economic-data-input" title="Permanent link">¶</a></h2>
807
+
<h3id="crop-economic-data-input">Crop Economic Data Input<aclass="headerlink" href="#crop-economic-data-input" title="Permanent link">¶</a></h3>
619
808
<p>This function allows usres to set up crop-specific parameters for an economic analysis/ The key inputs for Module 5 are the crop yield information which passed through from Module 2 to Module 5 in PyAEZ, market price and the cost of the crop.</p>
620
809
<p>This mandatory function can be called multiple times if users want to import multiple crop-specific information. However, at least one crop data should be provided. If users want to analyze comparative economic analysis at least two crop data should be provided.</p>
<h2id="classified-net-revenue">Classified Net Revenue<aclass="headerlink" href="#classified-net-revenue" title="Permanent link">¶</a></h2>
939
+
<h3id="classified-net-revenue">Classified Net Revenue<aclass="headerlink" href="#classified-net-revenue" title="Permanent link">¶</a></h3>
751
940
<p>This function returns classified net revenue for the crop <code>crop_name</code>. This classified scheme for crop net revenue is provided in the table below.</p>
752
941
<p>This classification is based on identification of minimum and maximum value of net revenue in a given area of interest. The net revenue percentage is delineated between zero percent (minimum net revenue) and 100 (maximum net revenue), and seven classes are divided based on percentage ranges.</p>
753
942
<divclass="language-py highlight"><tableclass="highlighttable"><tr><thcolspan="2" class="filename"><spanclass="filename">Get classified net revenue</span></th></tr><tr><tdclass="linenos"><divclass="linenodiv"><pre><span></span><spanclass="normal"><ahref="#__codelineno-3-1">1</a></span></pre></div></td><tdclass="code"><div><pre><span></span><code><spanid="__span-3-1"><aid="__codelineno-3-1" name="__codelineno-3-1"></a><spanclass="n">crop_rev_class</span><spanclass="o">=</span><spanclass="n">eco</span><spanclass="o">.</span><spanclass="n">getClassifiedNetRevenue</span><spanclass="p">(</span><spanclass="n">crop_name</span><spanclass="p">)</span>
@@ -843,7 +1032,7 @@ <h2 id="classified-net-revenue">Classified Net Revenue<a class="headerlink" href
843
1032
</tbody>
844
1033
</table>
845
1034
<hr/>
846
-
<h2id="normalized-net-revenue">Normalized Net Revenue<aclass="headerlink" href="#normalized-net-revenue" title="Permanent link">¶</a></h2>
1035
+
<h3id="normalized-net-revenue">Normalized Net Revenue<aclass="headerlink" href="#normalized-net-revenue" title="Permanent link">¶</a></h3>
847
1036
<p>This function returns the normalized net revenue for the crop <code>crop_name</code>, which requires at least two crops to be provided in the crop economic data input. This classification checks the net revenues for all crops and select the maximum net revenue value of the crop (known as umbrella crop) and is compared with user-specified crop net revenue to generate normalized net revenue. After normalization, the normalized values are classified to six major classes, providing the comparative performance information of the economic crops.</p>
848
1037
<divclass="language-py highlight"><tableclass="highlighttable"><tr><thcolspan="2" class="filename"><spanclass="filename">Get normalized net revenue</span></th></tr><tr><tdclass="linenos"><divclass="linenodiv"><pre><span></span><spanclass="normal"><ahref="#__codelineno-4-1">1</a></span></pre></div></td><tdclass="code"><div><pre><span></span><code><spanid="__span-4-1"><aid="__codelineno-4-1" name="__codelineno-4-1"></a><spanclass="n">crop_rev_norm</span><spanclass="o">=</span><spanclass="n">eco</span><spanclass="o">.</span><spanclass="n">getNormalizedNetRevenue</span><spanclass="p">(</span><spanclass="n">crop_name</span><spanclass="p">)</span>
0 commit comments