<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/cp/onlinemanual/000345" xml:lang="en">
   <Header>
      <Title>Example: to calculate the remaining available capacity</Title>
      <Keyword type="header" order="d1e200706">
         <Level1>Available capacity</Level1>
      </Keyword>
      <Keyword type="header" order="d1e200709">
         <Level1>Optimization algorithm for logistic parameters</Level1>
      </Keyword>
   </Header>
   <AimSection>
      <Paragraph>Calculation of the remaining available capacity of a resource in
		a specific period is one of the steps of the optimization algorithm for
		logistic parameters that LN uses in the <GUIRef href="/baanerp/cp/rao" role="module">Resource Analysis and Optimization</GUIRef> module in <GUIRef href="/baanerp/cp" role="package">Enterprise Planning</GUIRef>.</Paragraph>
   </AimSection>
   <GeneralSection>
      <Paragraph> LN uses
		the following formula to calculate the remaining available capacity of a
		resource:</Paragraph>
      <Formula space-and-orientation="indented-estimated">
         <Paragraph>AC = (F - S) * (1 + (OP/100)) - ACR</Paragraph>
      </Formula>
      <Paragraph>Where:</Paragraph>
      <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
         <TBODY noTR="4">
            <TR no="1" isLast="false">
               <TD rowspan="1" colspan="1">F</TD>
               <TD rowspan="1" colspan="1">Total capacity of the resource</TD>
            </TR>
            <TR no="2" isLast="false">
               <TD rowspan="1" colspan="1">S</TD>
               <TD rowspan="1" colspan="1">Capacity reserved for production orders</TD>
            </TR>
            <TR no="3" isLast="false">
               <TD rowspan="1" colspan="1">OP</TD>
               <TD rowspan="1" colspan="1">10% overtime percentage</TD>
            </TR>
            <TR no="4" isLast="true">
               <TD rowspan="1" colspan="1">ACR</TD>
               <TD rowspan="1" colspan="1">Additional capacity requirements</TD>
            </TR>
         </TBODY>
      </TABLE>
      <ExampleSection>
         <SectionTitle>Example</SectionTitle>
         <Paragraph>Suppose that, for a specific resource, we have the following
		  data:</Paragraph>
         <TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated">
            <TBODY noTR="4">
               <TR no="1" isLast="false">
                  <TD rowspan="1" colspan="1">F:</TD>
                  <TD rowspan="1" colspan="1">500 hours</TD>
               </TR>
               <TR no="2" isLast="false">
                  <TD rowspan="1" colspan="1">S:</TD>
                  <TD rowspan="1" colspan="1">100 hours</TD>
               </TR>
               <TR no="3" isLast="false">
                  <TD rowspan="1" colspan="1">OP:</TD>
                  <TD rowspan="1" colspan="1">10%</TD>
               </TR>
               <TR no="4" isLast="true">
                  <TD rowspan="1" colspan="1">ACR:</TD>
                  <TD rowspan="1" colspan="1">320 hours</TD>
               </TR>
            </TBODY>
         </TABLE>
         <Paragraph>The calculation of the remaining available capacity is
		  then:</Paragraph>
         <Formula space-and-orientation="indented-estimated">
            <Paragraph>
  AC = (F - S) * (1 + (OP/100)) - ACR 
     = (500 - 100) * (1 + 10/100)) - 320 
     = (400 * 1.1) - 320 = 440 - 320 = 120</Paragraph>
         </Formula>
         <Paragraph>This means that the corresponding resource has 120 hours of
		  remaining available capacity left.</Paragraph>
      </ExampleSection>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/cp/onlinemanual/000131" role="manual">Optimization algorithm for logistic parameters</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>